devops-exercises/topics/aws/exercises/elastic_network_interfaces/solution.md
abregman 99c4e02ecf Rename exercises dir
Name it instead "topics" so it won't be
strange if some topics included "exercises" directory.
2022-08-02 01:53:56 +03:00

883 B

AWS EC2 - Elastic Network Interfaces

Requirements

  • An EC2 instance with network interface

Objectives

A. Create a network interface and attach it to the EC2 instance that already has one network interface B. Explain why would anyone use two network interfaces

Solution

A.

  1. Go to EC2 service
  2. Click on "Network Interfaces" under "Network & Security"
  3. Click on "Create network interface"
  4. Provide a description
  5. Choose a subnet (one that is in the AZ as the instance)
  6. Optionally attach a security group and click on "Create network interface"
  7. Click on "Actions" -> "Attach" and choose the instance to attach it to
  8. If you go now to "Instances" page you'll see your instance has two network interfaces

B.

  1. You can move the second network interface between instances. This allows us to create kind of a failover mechanism between the instances.