Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Cloudbreak - Tagging EC2 Instances?

avatar
Master Guru

Is there a way to tag EC2 instances created by cloudbreak?

1 ACCEPTED SOLUTION

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
5 REPLIES 5

avatar
Super Collaborator

We are already adding tags to the instances. Do you want to add some custom tags?

avatar
Master Guru

@rdoktorics yes custom tags.

avatar
Contributor

What I did was write a boto based python script that does all the tagging, I download ind run it using a recipe

The recipe is as simple as this

#!/bin/bash
curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
curl "https://<repo with my tagging script>/hdp_tagging.py" -o "hdp_tagging.py"
python ./get-pip.py
pip install boto
pip install argparse
python ./hdp_tagging.py --key '' --secret ''

avatar
Master Guru

@Liam MacInnes This is a neat work around. I would like to see capablities from CB to add custom tags to each host group.

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login