Automating AWS Services with Scripting and the AWS CLI

3m setup · 115m access · 32m completion
Connection Details

Warning: Do not transmit data into the AWS Console that is not related to Qwiklabs or the lab you are taking.


You can take this lab for free! Other more advanced labs may cost credits to start.


Automating AWS Services with Scripting and the AWS CLI

Self-Paced Lab

Version 1.1


© 2017 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.

Errors or corrections? Email us at

Other questions? Contact us at

Lab Overview


Amazon Web Services (AWS) is a collection of digital infrastructure services that developers can leverage when developing their applications. These services can be provisioned on-demand via multiple methods, such as automatically deploying services based on a schedule and intelligently responding to infrastructure events.

This lab demonstrates how to automate AWS by showing the three way to access and manage AWS services:

  1. AWS Management Console: The AWS Management Console is a web application for managing Amazon Web Services. The Console provides an intuitive user interface for performing many AWS tasks, such as working with Amazon S3 buckets, launching and connecting to Amazon EC2 instances, and setting Amazon CloudWatch alarms.
  2. AWS Command Line Interface (CLI) The AWS CLI is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.
  3. AWS Software Development Kit (SDK): AWS provides SDKs for numerous programming languages including Java, .NET, PHP, and Ruby. Using an SDK, you can build applications on top of Amazon S3 and Amazon EC2. This lab will use the SDK for the Python scripting language.

Topics covered

This lab covers:

  • Using the AWS CLI to access and manage AWS services from the command line
  • Understanding how the AWS SDK can be used to programmatically access and manage AWS services and
  • Configuring security for the AWS CLI.

Technical knowledge prerequisites

  • Familiarity with command-line interfaces
  • A general understanding of scripting languages
  • Basic knowledge of AWS Services including Amazon EC2 and Amazon S3

Join Qwiklabs to Read the Rest of this Lab...and More!

  • Get temporary access to the Google Cloud Console.
  • Nearly 100 labs from beginner to advanced levels.
  • Bite-sized so you can learn at your own pace.
Join to Start This Lab