AWS Certified CloudOps Engineer Associate SOA-C03 [2026]

AWS CLI, CloudShell, and Development Tool Setup for SOA-C03

Set up Visual Studio Code, the AWS CLI, and AWS CloudShell, then verify command-line access and understand authentication and platform differences.

AWS Certified CloudOps Engineer Associate SOA-C03 [2026]AWS Certified CloudOps Engineer Associate SOA-C03 [2026]Updated Sep 1, 2026
Study options
WatchComing later
ListenComing later
ReadAvailable
ReviewComing later

Study guide

Technical reference and lesson notes

Purpose of This Lesson

This lesson prepares the command-line and editing tools used throughout the AWS Certified CloudOps Engineer Associate course. The setup includes Visual Studio Code, the AWS Command Line Interface (AWS CLI), AWS CloudShell, and access to the course code repository.

The main operational goal is to verify that at least one command-line environment can run AWS commands with valid credentials.

Key Concepts

  • Visual Studio Code: A free Microsoft editor used to open code snippets, instruction files, and other course materials.
  • AWS CLI: A command-line tool installed on your local Linux, macOS, or Windows computer. It lets you run AWS commands from the local operating system.
  • AWS CloudShell: A browser-accessible command-line environment hosted in AWS. It is commonly preconfigured with credentials for the AWS identity currently signed in to the management console.
  • Authentication: Installing the AWS CLI does not by itself provide permission to run AWS commands. Local CLI use requires credentials to be configured, which the course addresses after an IAM user account is created.
  • Course code repository: Code for a later lesson is available through a GitHub link. Learners can download the code or synchronize the repository with Git if they are comfortable using it.

Tool and Access Setup

1. Obtain the course code

At the end of the section, open the final lesson and follow its GitHub link. Download the code, or synchronize the repository with Git if that better fits your workflow.

2. Install Visual Studio Code

Download the Microsoft Visual Studio Code installer for the operating system in use and complete the installation. Visual Studio Code will be used to inspect course code, snippets, and instruction files.

3. Install or update the AWS CLI

Use the official AWS CLI installation or update instructions and select the package for Linux, macOS, or Windows. The AWS CLI commands themselves are consistent across these environments, although commands for navigating local files and directories depend on the operating system.

Installing the CLI is only the tool installation step. Local AWS commands will require credentials to be configured later.

4. Open AWS CloudShell

From the AWS Management Console, search for CloudShell and open it. AWS normally takes up to approximately 30 seconds to start the environment.

CloudShell is convenient because it is a command-line interface in the AWS environment and is typically already authenticated as the user signed in to the console. This avoids immediately configuring local credentials.

Some new AWS accounts may not initially receive access to CloudShell, potentially because AWS restricts access for new accounts or unfamiliar payment cards. If CloudShell is unavailable, contact AWS Support and request that access be enabled. If access remains unavailable, use the locally installed AWS CLI instead.

5. Verify command-line access

CloudShell’s font size can be adjusted from its settings. Once the terminal is usable, test the AWS CLI with:

aws help

The help interface can be browsed with the space bar and exited with q.

A useful operational test is:

aws s3 ls

This lists accessible Amazon S3 buckets. A new account may return no bucket entries, which is not necessarily a failure. If the command completes without an authentication or authorization error, it demonstrates that the environment has usable credentials for that operation.

Exam- or Assessment-Relevant Takeaways

  • Distinguish tool installation from authentication. Installing the local AWS CLI does not configure credentials.
  • CloudShell and the local AWS CLI use the same AWS CLI command syntax for AWS operations.
  • Operating-system commands are not necessarily portable: a Linux CloudShell session and a Windows local terminal use different file-system navigation commands.
  • CloudShell is often the fastest option when it is available because it is accessed from the console and is commonly preconfigured for the signed-in identity.
  • If CloudShell is unavailable for a new account, the local AWS CLI is the practical fallback; the AWS operation commands remain the same.
  • An empty result from aws s3 ls can mean there are no S3 buckets, not that the CLI failed. An explicit error is more significant than an empty listing.

Tool / Feature Decision Guide

SituationPreferred optionReason
You need to view snippets or instruction filesVisual Studio CodeIt is the course’s editing and viewing tool.
You want a command-line session without configuring local credentials immediatelyAWS CloudShellIt runs in AWS and is commonly authenticated as the console user.
CloudShell is unavailable or restricted for a new accountLocal AWS CLIIt provides the same AWS CLI command capability after local credentials are configured.
You need to run local file-system commandsThe terminal appropriate to your operating systemFile navigation differs between Linux, macOS, and Windows.
You need to inspect available AWS CLI operationsaws helpIt opens the CLI help interface; press the space bar to continue and q to exit.
You need a quick S3 access testaws s3 lsIt attempts to list accessible S3 buckets and can reveal whether the session has usable credentials.

Common Traps / Misconceptions

  • Installing the AWS CLI does not authenticate you. Credentials must be configured for local CLI use.
  • CloudShell is not guaranteed to be available immediately for every new account. Account or payment-card restrictions may require AWS Support involvement.
  • An empty aws s3 ls response is not automatically an error. A new account may simply have no S3 buckets.
  • AWS CLI commands and operating-system commands are different categories. aws s3 ls is an AWS CLI command, while file-system navigation commands vary by platform.
  • CloudShell and the local CLI are not two different AWS command languages. The AWS operation syntax is the same; the execution environment and local shell behavior differ.
  • The console identity matters in CloudShell. CloudShell is generally authenticated as the user currently signed in to the AWS Management Console.

Real-World Engineer / Analyst Notes

  • Use CloudShell when you need a quickly available AWS-native terminal and do not want to begin with local credential configuration.
  • Use the local AWS CLI when you need integration with local scripts, files, or development tools, or when CloudShell access is unavailable.
  • Treat a successful command with no returned resources differently from a command that reports an authentication or authorization error.
  • Keep the course repository and instruction files accessible in Visual Studio Code so that commands and implementation steps can be reviewed alongside the source material.
  • When troubleshooting, first separate the problem into three areas: tool installation, account access to CloudShell, and permissions or credentials for the AWS operation.

Quick Reference Summary

  • Install Visual Studio Code for course files and snippets.
  • Obtain the course code through the final lesson’s GitHub link.
  • Install or update the AWS CLI for local command-line access.
  • Open AWS CloudShell from the AWS Management Console when available.
  • CloudShell is commonly preconfigured for the signed-in console identity.
  • Local AWS CLI use requires credentials to be configured later.
  • aws help opens AWS CLI help; use the space bar to advance and q to exit.
  • aws s3 ls lists accessible S3 buckets; no output can simply mean no buckets exist.
  • AWS CLI commands are consistent across platforms, but local operating-system commands differ.

Flashcards

Q: You need to run AWS commands immediately from a browser-based environment without first configuring local credentials. Which tool should you try?

A: Use AWS CloudShell. It provides a command-line interface in AWS and is commonly preconfigured with credentials for the identity signed in to the console.

Q: What is the key authentication difference between a newly installed local AWS CLI and AWS CloudShell?

A: Installing the local CLI does not authenticate it; local credentials must be configured. CloudShell is commonly already authenticated as the signed-in console user.

Q: CloudShell is unavailable in a newly created AWS account. What is the supported next step described in the lesson, and what is the fallback?

A: Contact AWS Support and request CloudShell access be enabled. If it remains unavailable, use the locally installed AWS CLI after configuring credentials.

Q: Are AWS CLI commands different when run in CloudShell versus on a local computer?

A: The AWS CLI commands are the same. However, commands for navigating files and directories depend on the shell and operating system.

Q: What does aws help provide, and how do you leave its help display?

A: It opens the AWS CLI help interface. Press the space bar to advance through the output and q to exit.

Q: What does aws s3 ls attempt to show?

A: It lists accessible Amazon S3 buckets. An empty response may simply indicate that the account has no buckets.

Q: A new account runs aws s3 ls and receives no bucket names or error message. What is the most reasonable interpretation?

A: The command likely ran successfully but there are no S3 buckets to list. Lack of returned resources is different from an authentication or authorization error.

Q: Which tool should you use to open course code snippets and instruction files?

A: Use Visual Studio Code, the free Microsoft editor selected for the course.

Q: When would the local AWS CLI be preferable to CloudShell?

A: Use the local CLI when CloudShell is unavailable or when you need to work closely with local files, scripts, and the operating system. Its AWS operation commands remain the same as those used in CloudShell.

Q: What is the operational trap when copying a file-navigation command from CloudShell to a Windows terminal?

A: CloudShell uses a Linux command-line environment, while Windows uses different operating-system commands. AWS CLI syntax is consistent, but shell and file-system commands may not be.

Q: What does successful execution of an AWS CLI command without an error help confirm?

A: It indicates that the environment likely has usable credentials and permission for that operation, even if the command returns no resources.

Q: Where is the course code obtained, and what are the two supported ways to work with it?

A: The final lesson in the section links to a GitHub page. You can download the code or synchronize the repository with Git.

Practice Questions

Question 1

A learner installs the AWS CLI on a laptop and immediately receives an authentication error when running an AWS command. Which explanation best fits the lesson?

A. The AWS CLI only works in AWS CloudShell

B. The local CLI was installed but credentials have not yet been configured

C. Visual Studio Code must be open before AWS CLI commands can run

D. S3 commands cannot be used from a local computer

Correct answer: B. Installing the CLI provides the command-line tool but does not authenticate it. Local credentials must be configured separately.

Question 2

A learner opens CloudShell and runs aws s3 ls. The command completes without an error but displays no bucket names. What should the learner conclude?

A. CloudShell failed to authenticate

B. The AWS CLI package is missing

C. The account may simply have no S3 buckets

D. The command must be replaced with a Windows command

Correct answer: C. An empty listing can be normal for a new account. An explicit authentication or authorization error would indicate a different problem.

Question 3

A student cannot access CloudShell because the new account appears to be restricted. What is the best sequence of actions?

A. Reinstall Visual Studio Code, then retry CloudShell

B. Contact AWS Support to request access, and use the local CLI as a fallback

C. Change all AWS CLI commands to Windows syntax

D. Create an S3 bucket before opening CloudShell

Correct answer: B. The lesson identifies AWS Support as the route for CloudShell enablement and the local CLI as the alternative.

Question 4

An engineer wants to run the same S3 listing operation in CloudShell and on a local macOS computer. Which statement is correct?

A. The AWS CLI command changes based on the platform

B. The command is the same, but surrounding operating-system commands may differ

C. The operation can only be run from the AWS Management Console

D. CloudShell requires Visual Studio Code to execute AWS commands

Correct answer: B. AWS CLI commands are identical between CloudShell and the local CLI; file-system and shell commands can vary by operating system.

WordPress Metadata

Suggested Slug:
aws-cli-cloudshell-tools-setup-soa-c03

Meta Description:
Set up Visual Studio Code, the AWS CLI, and AWS CloudShell, then verify command-line access and understand authentication and platform differences.

Tags:
AWS CLI, AWS CloudShell, AWS Certified CloudOps Engineer, SOA-C03, Visual Studio Code, AWS IAM, Amazon S3, Cloud Operations