ANswer help of below test

Hi Team please help me with second question how to solve.

The Nautilus DevOps team needs to perform critical tasks involving EC2 instances. They need to set up a new EC2 instance for secure access from their landing host and investigate connectivity issues affecting another EC2 instance. The goal is to ensure seamless SSH access and restore package installation functionality.

  1. Set up a new EC2 instance for secure SSH access:
  • Create an EC2 instance of type t2.micro named devops-ec2-ssh-t1q1.
  • Ensure a new SSH key is created on the aws-client host if it doesn’t already exist.
  • Add this SSH key to the authorized_keys of the root user on the EC2 instance for password-less SSH access.
  1. Investigate and resolve connectivity issues on an existing EC2 instance:
  • Investigate the connectivity issue preventing package installation on the EC2 instance devops-ec2-internet-t1q1.
  • Implement a solution to resolve the connectivity issue and restore package installation capabilities on the EC2 instance.

Note: The SSH key to access the EC2 instance is at /root/.ssh/id_rsa on the aws-client host.

Hi @arhanc2356

Can you please share question no. for this task?

If this is from AWS Level 2, you can look at this and see if it helps.

Thanx I completed this task.