Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I have to connect my dynamic IP(which changes every time) to the AWS EC2 machine.

For this I mapped my public IP to the domain name(xyz.com), now I am trying to add it to the security group.

But AWS security group not allowing to add DNS names. Is it the right process to do it, if not please suggest me.

1 Answer

0 votes
by (44.4k points)
edited by

You can use a script to update your IP dynamic addresses in the AWS CLI:

aws ec2 authorize-security-group-ingress --group-id --protocol tcp --port 22 --cidr /24

Check out this documentation for more insights - http://docs.aws.amazon.com/cli/latest/userguide/cli-ec2-sg.html

If you are keen to learn about the various AWS skills then this AWS Course page availed by Intellipaat is the right course for you. This course will help you learn to master AWS skills and ace the AWS certification exam!

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

+1 vote
1 answer

Browse Categories

...