hands-on lab

Getting Started With Amazon Q Developer and AWS Cloud9

Difficulty: Beginner
Duration: Up to 45 minutes
Students: 144
Rating: 4/5
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.

Description

Amazon Q Developer is a generative artificial intelligence (GenAI) powered assistant that can help you understand, build, extend, and operate AWS applications. This lab uses functionality from Amazon CodeWhisperer which has been incorporated into Amazon Q Developer. Specifically, coding companion functionality that provides code recommendations based on contextual information like prior code and comments.

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 Q Developer to generate code suggestions.

In this lab, you will learn about Amazon Q Developer and its features. You will also learn how to enable Amazon Q Developer 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 Q Developer suggestions in the Cloud9 IDE
  • Utilize Amazon Q Developer suggestions to write and deploy a Python function

Intended audience

  • Cloud Developers
  • Software Engineers

Prerequisites

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

  • AWS Cloud9
  • Amazon Q Developer
  • Python

The following content can be used to fulfill the prerequisites:

Updates

June 14, 2024 - Updated the lab to refer to Amazon Q Developer, which now integrates Amazon CodeWhisperer

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Accelerating Development With Amazon Q Developer
Generating Code Suggestions With Amazon Q Developer and AWS Cloud9