Bind Elastic IP to a New Instance
A 4-step recipe with Amazon EC2. We can help you get access.
Recipe · 4 steps
Bind Elastic IP to a New Instance
with Amazon EC2 · IT Infrastructure Management
Launch an instance, wait for running, and attach a fresh Elastic IP.
- Launch a single instance from the supplied AMI.
- Describe the launched instance and branch on its state, looping while pending and proceeding once it reports running.
- Allocate a VPC Elastic IP address.
- Associate the Elastic IP allocation with the running instance.
What you'll need to have ready
- imageId: The AMI ID to launch the instance from.
- instanceType: The EC2 instance type to launch.
- allocationId: The allocation ID of the Elastic IP to associate.
For your developer
Arazzo workflow amazon-ec2:bind-eip-to-new-instance, 4 operations: RunInstances → DescribeInstances → AllocateAddress → AssociateAddress. Specs on APIs.io.