AWS Certified Cloud Practitioner (CLF-C02) / Cloud Technology and Services

Ways to provision and manage AWS

Lesson 16 of 42. Open to read. No account needed.

Checking one resource and rebuilding an environment every week are different jobs. Both can involve the same AWS services, but a convenient way to inspect something is not necessarily a good way to reproduce it.

Provisioning creates and configures resources. Operations keeps them working afterward. Before choosing a tool, ask whether you are investigating, running a repeated action or describing a whole environment.

Different Ways to Make a Request

The AWS Management Console is the browser interface. It suits exploring a service and inspecting its settings. The AWS Command Line Interface (CLI) lets you issue commands from a terminal; a script can repeat those commands. A terminal is a text interface, not a different level of AWS permission.

An SDK, or software development kit, provides libraries a program can use to call AWS. A developer might use a language-specific SDK to retrieve an object when the application needs it. An API defines the operations and messages that software exchanges with a service. The CLI and SDKs make those service operations accessible without requiring you to construct every request by hand.

Console and CLI or SDK requests are alternatives to a template-driven CloudFormation operation. Each request needs applicable permissions. CloudFormation manages stack resources on the caller's behalf.

Management paths, not application traffic. The three starting points are alternatives; you do not have to use them in sequence.

The first two arrows represent direct service operations. The third starts with a template submitted to CloudFormation, which then makes operations on the stack's resources. You can submit that template through the console, CLI or an SDK, so these categories can work together.

Every operation still needs the applicable authorization. CloudFormation can use a specified service role; otherwise it uses a temporary session derived from the caller's credentials. A service role's permitted actions can differ from the caller's. Permission to operate a powerful stack therefore deserves careful control. Neither a template nor a command-line tool bypasses IAM.

Describe Infrastructure Once

Infrastructure as code (IaC) records intended infrastructure in files rather than relying on someone to remember a series of clicks. With AWS CloudFormation, a template describes resources and their relationships. A stack is the collection managed from that template. Parameters supply deliberate differences, such as an environment name, while the shared structure remains reviewable and versioned.

A shell script records operations; an IaC template describes the infrastructure to manage. Scripts remain useful, but repeating a script does not by itself prove that it safely reconciles existing resources.

CloudFormation change sets preview proposed stack changes before execution. Review replacements and deletions carefully. A preview is not a guarantee that execution will succeed: runtime conditions can still prevent an update. IaC makes changes repeatable and inspectable, not automatically harmless.

Operate Resources and Check Limits

AWS Systems Manager supports operational work such as collecting inventory, running commands and managing patches on configured managed nodes. A managed node can be an AWS instance or a machine outside AWS. Supported node operations need the agent, connectivity and access configuration appropriate to the task; merely having an AWS account does not make every server manageable. This is a different job from describing a resource stack.

Service Quotas helps you inspect service limits and request increases where adjustable. A quota can apply to an account, Region or resource. An increase request can be rejected or only partly approved. A quota is not a spending budget: being below a resource limit does not mean those resources are free.

Location Is a Separate Choice

For this comparison, cloud means the application's components run in the cloud; on premises means infrastructure at the organization's own location; hybrid connects cloud resources with an existing non-cloud environment.

An employee using the CLI on an office laptop to inspect an AWS-hosted website does not make the website hybrid. The laptop is a management client. By contrast, an AWS application connected to an operational database retained in the organization's data center has components across both environments. Choose the deployment description from the workload, not from the operator's device.

A Weekly Training Environment

A training coordinator needs to inspect yesterday's failed environment once, then create the same approved resource layout for future weekly workshops. Using the console for the investigation is reasonable. A CloudFormation template is a better fit for preserving the repeated layout than a checklist of clicks. A CLI command could submit that template as part of a controlled process; these choices are complementary.

Suppose an inventory program must also retrieve resource information nightly. An SDK suits a program making those calls, while a short CLI script could suit a smaller automation task. In each case, allow the required inspection or provisioning operations on the intended resources. Do not grant administrator access merely to avoid diagnosing a denied request.

Read a Template Without Deploying It

This illustrative CloudFormation fragment describes one bucket. It is a reading exercise, not a lab: do not deploy it, and no AWS account or file is required. YAML uses indentation to group settings; true enables a setting.

Resources:
  WorkshopFiles:
    Type: AWS::S3::Bucket
    Properties:
      PublicAccessBlockConfiguration:
        BlockPublicAcls: true
        IgnorePublicAcls: true
        BlockPublicPolicy: true
        RestrictPublicBuckets: true

Resources contains the things the stack would manage. WorkshopFiles is a logical name inside the template, not the final physical bucket name. Type identifies the resource kind; Properties contains its configuration. CloudFormation would interpret this description and make authorized service requests. Merely reading or saving the text creates nothing.

The four public-access settings address public ACLs and bucket policies. An ACL is an access control list. Blocking new public ACLs is different from ignoring permissions in existing ones; blocking new public policies is different from restricting access through a public policy. These are protective settings, not permissions for a particular staff member to read a file.

Changing a true to false removes that particular setting, not necessarily all public-access protection: other settings and account controls still matter. The omitted access policies, data retention and operational decisions would need review for a real workload. The point is to read the intended configuration, not memorize YAML punctuation.

Check Your Understanding

The coordinator can sign in and view resources but cannot create a training stack. Would changing from the console to the CLI solve the permission problem? Which tool would help preserve the workshop layout, and which service would help investigate whether a service limit needs increasing?

Answer and Reasoning

Changing interfaces does not supply missing authorization. Check the caller's stack-operation permissions and the permissions CloudFormation uses for resource operations. CloudFormation preserves the layout in a template; Service Quotas addresses adjustable service limits. Neither replaces the other: an authorized request can encounter a quota, and a higher quota does not authorize a request.

References

Example-specific references checked on 8 October 2026:

Sources checked on 24 September 2026. The workshop is a reading example; no account, installation or resource creation is required.

Study this course with an account

Course access adds revision notes, the Exam Cheat Sheet, saved progress, bookmarks and your own notes.

INR 199 plus 18% GST. 90 days of online access. No auto-renewal.

See course access

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy