DIY

After completing the lab, the player does DIY

  1. In the AWS Console interface
  • Find EC2
  • Select EC2

DIY

  1. In the EC2 interface
  • Select Instances
  • View the instance

DIY

  1. In EC2 interface
  • Select Security Groups
  • View Security Groups
  • Select Create security group

DIY

  1. In the Create security group interface
  • Security group name, enter PetModels-EFS-1-SG
  • Description, enter Restric access to webservers only
  • Select PetModels VPC

DIY

  1. In the Create security group interface
  • Select Add rule
  • In Inbound rules, select NFS
  • Select webserver Security group

DIY

  1. In the Create security group interface
  • Select Create security group

DIY

  1. In the Security groups interface
  • View Security group name
  • View the Inbound rules

DIY

  1. In the AWS Console interface
  • Find EFS
  • Select EFS

DIY

  1. In the EFS interface
  • Select Create file system

DIY

  1. In the Create file system interface
  • Name, enter PetModels-EFS-1
  • VPC, select PetModels
  • Select Regional
  • Select Customize

DIY

  1. In the File Systems interface
  • In Automatic backups, uncheck Enable automatic backups
  • In Transition into A, select None

DIY

  1. In the File systems interface
  • Select Next

DIY

  1. In the Network access interface
  • Uncheck security group of us-east-1a
  • Select Remove the remaining AZs

DIY

  1. In the Network access interface
  • Select us-east-1a
  • select Subnet ID
  • Select Security group
  • Select Next

DIY

  1. In the File system policy interface
  • Select Next

DIY

  1. In the Create file system interface
  • Select Create

DIY

  1. In the File System interface
  • See the successful file system initialization
  • Select PetModels-EFS-1

DIY

  1. In the PetModels-EFS-1 interface
  • Select Attach

DIY

  1. In the Attach interface
  • Copy EFS mount helper
  • Select Close

DIY

  1. In the AWS Console interface
  • Find EC2
  • Select EC2

DIY

  1. In the EC2 interface
  • Select Instances
  • View instances

DIY

  1. In the Instances interface
  • Select PetModels-A
  • Select Connect

DIY

  1. In the Connect to instance interface
  • Select EC2 Instance Connect
  • Select Connect

DIY

  1. In the PetModels-A interface
  • Type sudo yum install -y amazon-efs-utils

DIY

  1. In the PetModels-A interface
  • Enter mkdir data
  • Enter ls
  • Enter the command line of Using the EFS mount helper copied in step 19, then change efs to data
  • Enter cd data
  • Type cat efs-l-setup.log
  • Type sudo bash -c "cat >> efs-l-setup.log"
  • Enter efs-1-mounted in site B
  • Use Ctrl + C
  • Type cat efs-l-setup.log
  • View results

DIY

  1. In the AWS Console interface
  • Find EFS
  • Select EFS
  • Select PetModels-EFS-1

DIY

  1. In the PetModels-EFS-1 interface
  • Select Network
  • Select Manage

DIY

  1. In the Network access interface
  • Select Add mount target

DIY

  1. In the Network access interface
  • Select us-east-1b
  • Select Subnet ID

DIY

  1. In the Network access interface
  • Select PetModels-EFS-1-SG
  • Select Save

DIY

  1. In the PetModels-EFS-1 interface
  • View Mount target state
  • Select refresh

DIY

  1. In the AWS Console interface
  • Find EC2
  • Select EC2
  • Select Instances

DIY

  1. In the Instances interface
  • Select PetMdels-B
  • Select Connect

DIY

  1. In the Connect to instance interface
  • Select EC2 Instance Connect
  • Select Connect

DIY

  1. In the PetModels-B interface
  • Type sudo yum install -y amazon-efs-utils

DIY

  1. In the PetModels-B interface
  • Enter mkdir data
  • Enter ls
  • Enter the command line of Using the EFS mount helper copied in step 19, then change efs to data
  • Enter cd data
  • Type cat efs-l-setup.log
  • Type sudo bash -c "cat >> efs-l-setup.log"
  • Enter efs-1-mounted in site B
  • Use Ctrl + C
  • Type cat efs-l-setup.log
  • View results

DIY

  1. In the File systems interface
  • Select PetModels-EFS-1

DIY

  1. In the PetModels-EFS-1 interface
  • Select Network
  • Select Manage

DIY

  1. In the Network access interface
  • Select Add mount target

DIY

  1. In the Network access interface
  • Select us-east-1c
  • Select Subnet ID

DIY

  1. In the Network access interface
  • Select security group
  • Select Save

DIY

  1. In the File system interface
  • Select Network
  • View Mount target state
  • Select refresh

DIY

  1. In the EC2 interface
  • Find EC2
  • Select EC2
  • Select Instances
  • Select PetModels-C
  • Select Connect

DIY

  1. In the Connect to instance interface
  • Select EC2 Instance Connect
  • Select Connect

DIY

  1. In the PetModels-C interface
  • Type sudo yum install -y amazon-efs-utils

DIY

  1. ​​In the PetModels-C interface
  • Enter mkdir data
  • Enter ls
  • Enter the command line of Using the EFS mount helper copied in step 19, then change efs to data
  • Enter cd data
  • Type cat efs-l-setup.log
  • Type sudo bash -c "cat >> efs-l-setup.log"
  • Enter efs-1-mounted in site B
  • Use Ctrl + C
  • Type cat efs-l-setup.log
  • View results

DIY

  1. In delivery DIY
  • Paste Amazon EFS File System id into VALIDATION FORM
  • Select VALIDATE

DIY 48. In the DIY interface

  • After selecting VALIDATE, VALIDATION MESSAGE appears Success…
  • Select EXIT

DIY

  1. In the city view
  • Select ASSIGNMENT
  • Select COLLECT

DIY

  1. Select NEXT

DIY

  1. Select COLLECT

DIY