AWS Cloud Practitioner Study Notes · Part 10
AWS Cloud9 and Amazon Q Developer: Cloud IDE vs AI Assistant
AWS Cloud Practitioner study notes comparing AWS Cloud9 with Amazon CodeWhisperer, now part of Amazon Q Developer, and their developer use cases.
AWS Cloud9 and Amazon CodeWhisperer are easy to confuse because both appear in developer-tool study material. They solve different problems: Cloud9 is the development environment, while CodeWhisperer was the AI coding assistant whose capabilities are now part of Amazon Q Developer.
This is Part 10 of the AWS Cloud Practitioner Study Notes series. Part 9 covered AWS billing and cost-management services; this note focuses on the difference between a cloud IDE and an AI-powered coding assistant.
The difference to memorise
| Service | What it is | Main job | Does it run your code? |
|---|---|---|---|
| AWS Cloud9 | Cloud-based integrated development environment (IDE) | Write, run, test, and debug code in a browser | Yes, in the connected environment |
| Amazon CodeWhisperer | Former AWS AI coding assistant | Suggest and generate code while you work | No; it suggests code for another environment |
| Amazon Q Developer | Current AWS generative AI developer assistant | Answer questions, generate code, review code, and assist development | No; it assists the developer and tools you use |
The exam shortcut is:
- Browser-based IDE: AWS Cloud9
- AI code suggestions: Amazon CodeWhisperer or Amazon Q Developer, depending on the wording and age of the study material
AWS Cloud9: a cloud-based IDE
AWS Cloud9 is an integrated development environment accessed through a web browser. It provides an editor, terminal, build and run tools, debugger support, and language-related development features.
An AWS Cloud9 environment stores project files and connects to a computing resource, such as an Amazon EC2 instance or another server. The code runs in that connected environment rather than magically running inside the browser itself.
Cloud9 can provide:
- Browser-based code editing
- A built-in terminal
- Build and run configurations
- A debugger
- AWS CLI access in the environment
- Language syntax highlighting and formatting
- Collaboration features for environment members
- Direct access to the permissions and network context of the connected environment
This can be useful when a developer wants a prepared environment that is accessible from different computers or located close to AWS resources. It can also reduce the need to install every tool locally.
Cloud9 architecture
The basic relationship is:
Developer browser
|
v
AWS Cloud9 IDE
|
v
Connected compute resource
(for example, an EC2 instance)
The browser is the interface. The connected compute resource provides the environment where files, commands, dependencies, and application processes live.
Important current-status note
AWS Cloud9 is still documented and existing customers can continue to use it, but AWS states that Cloud9 is no longer available to new customers. This means the service remains relevant for understanding existing environments and certification material, while a new project should verify current AWS availability and consider the developer tools AWS currently recommends.
Cloud9 environments may also incur charges, especially when they use EC2 compute or other billable resources. A browser-based IDE does not mean the underlying compute is free.
Exam clues: cloud IDE, browser editor, built-in terminal, debugger, run code, and develop from a web browser.
Amazon CodeWhisperer: the historical AI coding assistant
Amazon CodeWhisperer was an AI-powered coding assistant that generated inline suggestions from natural-language comments and the code surrounding the cursor. It could suggest functions or logical blocks, including code for AWS APIs and SDKs.
For example, a developer might write a comment such as:
# Download an object from Amazon S3
The assistant could suggest a Python implementation using the AWS SDK. The developer still needed to review the suggestion, adapt it to the application, and test it.
CodeWhisperer’s study keywords include:
- AI code completion
- Natural-language code prompts
- Function and block generation
- AWS SDK suggestions
- Security scanning
- Developer productivity
The assistant did not replace the IDE, compiler, test suite, security review, or the developer’s judgement.
Amazon Q Developer: the current product name
AWS has incorporated CodeWhisperer capabilities into Amazon Q Developer. Amazon Q Developer is a generative AI assistant that can help developers understand AWS, generate and update code, answer questions, review code, scan for security issues, and refactor or optimise code in supported environments.
The terminology matters:
- Older notes or exam preparation material may say Amazon CodeWhisperer.
- Current AWS documentation refers to Amazon Q Developer.
- The core exam concept remains AI-powered assistance for writing and understanding code.
Amazon Q Developer can be used through supported IDE extensions and AWS coding environments. Available features depend on the IDE and the specific integration, so do not assume that every capability is available everywhere.
AI suggestions should be reviewed before acceptance. Generated code can contain incorrect assumptions, insecure patterns, unsuitable dependencies, or logic that does not match the application’s requirements.
Cloud9 versus Amazon Q Developer
The services can be used conceptually together, but they have different roles:
| Question | AWS Cloud9 | Amazon Q Developer |
|---|---|---|
| Is it a development workspace? | Yes | No; it integrates with supported workspaces |
| Is it accessed through a browser or IDE integration? | Browser | Supported IDEs and AWS coding environments |
| Does it provide an editor and terminal? | Yes | No; it assists within the development environment |
| Does it suggest or generate code? | Not its primary purpose | Yes |
| Does it run and debug the application? | Yes, using its connected environment | No; the developer’s environment does |
| Does it use generative AI? | Not its defining capability | Yes |
Cloud9 answers “Where do I write and run code?” Amazon Q Developer answers “How can an AI assistant help me write, understand, and improve code?”
A Lambda example
Suppose a developer is creating a Lambda function that reads an object from S3.
With a cloud IDE, the workflow might be:
- Open the development environment in a browser.
- Edit the function and configuration.
- Use the terminal to install dependencies or run tests.
- Use the debugger to investigate behaviour.
- Deploy the function through the selected deployment workflow.
With Amazon Q Developer, the developer might ask for an S3 SDK example, receive an inline suggestion, request an explanation, or run a code review. The developer still checks the IAM permissions, validates input, handles errors, tests the function, and verifies that secrets are not exposed.
The tools address different layers of the workflow: Cloud9 provides the workspace, and Amazon Q Developer provides AI assistance within a supported coding environment.
Common exam traps
| Scenario | Likely answer |
|---|---|
| Write code from a web browser without installing a local IDE | AWS Cloud9 |
| Use a cloud-hosted development environment with a terminal and debugger | AWS Cloud9 |
| Receive AI-generated inline code suggestions | Amazon CodeWhisperer / Amazon Q Developer |
| Store source code in a repository | A source-control service such as CodeCommit or another supported repository |
| Build source code in a CI pipeline | AWS CodeBuild |
| Automate a release pipeline | AWS CodePipeline |
| Deploy an application | AWS CodeDeploy or the selected deployment service |
Do not choose Cloud9 just because the question mentions AWS. Cloud9 is about the development environment. Do not choose Amazon Q Developer just because the question mentions running code; the AI assistant suggests code but does not provide the application runtime.
Exam-ready memory aid
- AWS Cloud9: browser-based cloud IDE with editor, terminal, and debugger.
- CodeWhisperer: historical name for AWS AI coding suggestions.
- Amazon Q Developer: current AWS developer assistant incorporating CodeWhisperer capabilities.
- Cloud9 runs code: through its connected compute environment.
- Amazon Q Developer suggests code: the developer must review and run it.
- Cloud9 availability: no longer available to new AWS customers; existing customers can continue using it.
Conclusion
AWS Cloud9 and Amazon Q Developer are complementary concepts, not competing answers to the same question. Cloud9 provides a cloud-hosted place to edit, run, and debug code. Amazon Q Developer provides AI-powered guidance, code suggestions, code generation, and reviews in supported development environments.
For the Cloud Practitioner exam, identify whether the question asks for a workspace or an assistant. Use AWS Cloud9 for the browser-based IDE concept, and Amazon CodeWhisperer or Amazon Q Developer for AI-powered code recommendations. When studying current AWS services, remember that CodeWhisperer has moved into Amazon Q Developer and Cloud9 is no longer available to new customers.