Elastic IP addresses
📖 Scenario: You are managing a small web application hosted on AWS. You want to assign a fixed public IP address to your EC2 instance so that users can always reach your server at the same IP, even if the instance is stopped and started.
🎯 Goal: Create an Elastic IP address resource and associate it with an EC2 instance using AWS CloudFormation.
📋 What You'll Learn
Create an Elastic IP resource with the name
MyElasticIP.Create an EC2 instance resource with the name
MyEC2Instance.Associate the Elastic IP
MyElasticIP with the EC2 instance MyEC2Instance.Use valid AWS CloudFormation syntax.
💡 Why This Matters
🌍 Real World
Elastic IPs are used to keep a fixed public IP for cloud servers, useful for DNS records and stable access.
💼 Career
Understanding Elastic IPs and CloudFormation templates is essential for cloud engineers managing AWS infrastructure.
Progress0 / 4 steps