Beginner
4.8
2,847

Allocating and Associating Elastic IP to an EC2 Instance

Learn how to allocate and attach an Elastic IP to an EC2 instance for consistent public access.

Skills You'll Learn

Elastic IP
Lab preview
Ready
2
Modules
1 hour
Duration

Lab Modules

2 steps
Signing into AWS Console
Allocating and Associating Elastic IP to an EC2 Instance

Lab Overview

An Elastic IP (EIP) in AWS is a static, public IPv4 address designed to provide consistent and reliable access to your EC2 instances. Unlike dynamic public IPs that change when instances are stopped or restarted, Elastic IPs remain fixed and associated with your account until explicitly released, making them essential for DNS mappings, firewall rules, and applications requiring persistent public endpoints.

In this lab, you will allocate an Elastic IP address and associate it with a pre-deployed EC2 instance running Apache web server. You'll learn how to manage static IP addresses, understand the difference between dynamic and static addressing, and verify connectivity to ensure consistent access to your cloud resources.

Objectives

Upon completion of this beginner level lab, you will be able to:

  • Allocate an Elastic IP address from AWS's available IP pool
  • Associate the Elastic IP with an existing EC2 instance
  • Verify successful IP association through the AWS Management Console
  • Test connectivity to confirm the static IP configuration is working properly

Who is this lab for?

This lab is designed for:

  • Cloud engineers starting with AWS networking fundamentals
  • System administrators managing EC2 instances
  • DevOps professionals implementing infrastructure reliability
  • Anyone learning AWS networking and IP address management