Deploying and Operating in AWS: Console, CLI, SDKs, IaC, and Connectivity
Every action you take in AWS — launching a server, creating a bucket, updating a permission — happens through one of a handful of access methods: the AWS Management Console, the AWS CLI, an SDK inside your application code, or an infrastructure-as-code template such as AWS CloudFormation. Task 3.1 of the CLF-C02 exam tests whether you can match each method to the right situation, decide when a one-time manual task should become a repeatable automated process, distinguish the cloud, hybrid, and on-premises deployment models, and pick the right connectivity option among the public internet, AWS VPN (Site-to-Site and Client VPN), and AWS Direct Connect. After this lesson you will be able to read a short scenario and immediately name the access method, deployment model, or connection type it describes.
What you’ll learn
- Compare the AWS Management Console, AWS CLI, SDKs, and the underlying APIs as ways to access and operate AWS services
- Choose between manual, scripted, and infrastructure-as-code approaches based on whether a task is one-time or repeatable
- Explain what AWS CloudFormation does and why IaC delivers consistent, version-controlled, repeatable environments
- Explain what CloudFormation does not do on its own (revert drift, scale with demand, copy a stack to other Regions) and how a template differs from an AMI
- Identify cloud, hybrid, and on-premises deployment models from scenario descriptions (including AWS Outposts as hybrid) and tell them apart from multi-cloud
- Decide between the public internet, AWS Site-to-Site VPN, AWS Client VPN, and AWS Direct Connect using what is being connected, setup time, cost, consistency, and encryption
- Recognize the exam trigger phrases that map a scenario to a specific access method or connectivity option
The 8 parts · about 15 min of reading
- Everything in AWS is an API callStart hereConsole, CLI, SDKs and IaC are layers over one HTTPS API, so any manual action can be automated and every request is signed.1 min
- AWS Management ConsoleThe browser console suits learning, exploring and one-time visual tasks, but its manual clicks are slow and impossible to reproduce exactly.1 min
- Programmatic accessThe CLI scripts operations for people at a terminal, SDKs put AWS calls in app code, and CloudShell is the CLI with no install.2 min
- Infrastructure as codeCloudFormation templates build whole environments as stacks; drift detection only reports, and each stack lives in one Region.3 min
- One-time operations vs repeatable processesDo a task once in the console; capture repeated work as code, and provision identical environments with CloudFormation, not a runbook.1 min
- Cloud deployment modelsCloud runs everything on AWS, on-premises stays in your data center, hybrid links the two (Outposts included); multi-cloud is a distractor.3 min
- Connectivity optionsThe internet is free and instant, Site-to-Site VPN encrypts in hours to days, Client VPN serves users, Direct Connect is private but unencrypted.3 min
- Scenario walkthroughAn insurer's move maps each need to hybrid, CloudFormation, SDK, CLI or console, and picks a VPN now with Direct Connect ordered later.1 min
Mind map
How the exam tests this
CLF-C02 tests this task with short matching scenarios. Access-method questions describe an actor and ask for the tool: a person doing a one-time visual task maps to the Management Console, scripted or scheduled admin work maps to the AWS CLI (or CloudShell when nothing can be installed locally), application code calling AWS maps to an SDK, and 'identical repeatable environments' maps to CloudFormation (IaC), whose limits (drift is reported not reverted, no automatic scaling, one Region per stack) and look-alikes (AMIs, which copy a single instance image rather than a whole environment) supply the wrong options. Deployment-model questions hinge on hybrid triggers — legacy systems staying on-premises, data residency, gradual migration, or AWS Outposts on site — and on not confusing hybrid with multi-cloud. Connectivity questions contrast setup speed and cost (VPN, or the public internet) against consistent performance and a private path (Direct Connect), separate Site-to-Site VPN (networks) from Client VPN (users), and check that Direct Connect is not encrypted by default.
Key takeaways
- Every access method — Console, CLI, SDKs, IaC — ultimately makes calls to the same AWS APIs over HTTPS.
- Management Console = human, visual, one-time or infrequent tasks; sign in with password + MFA.
- AWS CLI = terminal commands and scripts for repeatable admin automation; SDKs = AWS calls from application code.
- AWS CloudFormation templates provision entire environments repeatably, consistently, and under version control — the IaC answer on CLF-C02.
- An AMI copies one EC2 instance's software image; a CloudFormation template recreates the whole environment (network, database, permissions, instances).
- CloudFormation drift detection reports manual changes but does not revert them; scaling needs Auto Scaling; a stack exists only in its Region (use StackSets or redeploy for more).
- One-time task → console is fine; anything repeated → script it (CLI) or template it (CloudFormation) for consistency and fewer errors.
- Hybrid deployment = cloud connected to on-premises (including AWS Outposts on site with its parent Region); multi-cloud = more than one cloud provider.
- Site-to-Site VPN = encrypted tunnel over the internet — fast to set up, cheaper, variable performance.
- Client VPN connects individual users' devices to AWS; Site-to-Site VPN connects whole networks.
- Direct Connect = dedicated private physical link — consistent bandwidth/latency, avoids the public internet, takes weeks to provision, and is not encrypted by default (run a VPN over it).
Part 1: Everything in AWS is an API call
Console, CLI, SDKs and IaC are layers over one HTTPS API, so any manual action can be automated and every request is signed.
Frequently asked questions
What is the difference between the AWS CLI, the Console, and an SDK?
All three call the same AWS APIs, but they serve different users. The Management Console is a web interface for humans: visual, guided, best for exploring and one-time tasks. The AWS CLI is a terminal tool for administrators: commands can be chained into scripts that automate repeatable operational work. SDKs are language libraries (Python, JavaScript, Java, and more) that let applications call AWS services from their own code. On the exam, match the actor to the tool: a person clicking, the Console; a person scripting, the CLI; software integrating AWS, an SDK.
What is infrastructure as code in AWS and why use CloudFormation?
Infrastructure as code means defining your AWS resources in template files instead of creating them manually. AWS CloudFormation reads a JSON or YAML template and provisions everything it declares as a managed stack. Because the template is a text file, it can be stored in version control, reviewed, and reused — deploying it again produces an identical environment every time. That eliminates configuration drift and manual errors, which is why CloudFormation is the exam's answer whenever a scenario asks for repeatable, consistent environment provisioning. An Amazon Machine Image (AMI) is not a substitute: it copies one EC2 instance's software image, not the network, database and permission resources around it. The AWS CDK offers the same result from regular programming languages.
When should I use AWS Direct Connect instead of a VPN?
Choose AWS Direct Connect when you need consistent, predictable network performance or your traffic must not traverse the public internet — it is a dedicated private physical circuit between your data center and AWS. Choose a Site-to-Site VPN when you need a secure connection quickly and cheaply: it creates an encrypted tunnel over the internet in hours to days rather than the weeks or months a Direct Connect circuit takes to provision, but its bandwidth and latency vary with internet conditions. Some organizations run a VPN over Direct Connect to get both a private path and encryption.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.