hands-on lab

Getting Started With Amazon CodeWhisperer and AWS Cloud9

Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Amazon CodeWhisperer is a machine learning-powered coding companion that provides code recommendations based on contextual information like prior code and comments. Amazon CodeWhisperer supports multiple programming languages and offers additional features such as security scans and code references to help secure and optimize your code.

AWS Cloud9 is a cloud-based integrated development environment that allows you to write, run, and debug code in your browser. The Cloud9 IDE supports the use of Amazon CodeWhisperer to generate code suggestions.

In this lab, you will learn about Amazon CodeWhisperer and its features. You will also learn how to enable Amazon CodeWhisperer suggestions in the Cloud9 IDE and how to use those suggestions to write Python code.

Learning objectives

Upon completion of this beginner-level lab, you will be able to:

  • Enable Amazon CodeWhisperer suggestions in the Cloud9 IDE
  • Utilize Amazon CodeWhisperer suggestions to write and deploy a Python function

Intended audience

  • Cloud Developers
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • AWS Cloud9
  • Amazon CodeWhisperer
  • Python

The following content can be used to fulfill the prerequisites:

About the author
Jun Fritz, opens in a new tab
Cloud Labs Developer
Learning paths

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Accelerating Development With Amazon CodeWhisperer
Generating Code Suggestions With Amazon CodeWhisperer and AWS Cloud9