Skip to content
VirtualLP Virtual Learning Platform
Amazon Web Services intermediate

Automate AWS with the CLI in CloudShell

Use the AWS CLI from CloudShell to inspect your identity, list resources as JSON and create networking with commands – the foundation of infrastructure automation.

What you'll do

  • Open AWS CloudShell
  • Read JSON output from describe calls
  • Create a VPC and subnet from the CLI
  • Manage S3 from the command line

Lab tasks

  1. 1 Open CloudShell
  2. 2 Check your identity
  3. 3 List VPCs
  4. 4 Create a VPC with CIDR 10.50.0.0/16 from the CLI
  5. 5 Create a subnet 10.50.1.0/24 in that VPC
  6. 6 Make an S3 bucket from the CLI