Provisioning Resources – SOA-C02 Study Guide

This chapter covers the following official AWS Certified SysOps Administrator – Associate (SOA-C02) exam domain:

Domain 3: Deployment, Provisioning, and Automation

(For more information on the official AWS Certified SysOps Administrator – Associate [SOA-C02] exam topics, see the Introduction.)

As you can probably imagine, provisioning resources in AWS is a major responsibility within an organization. It can also quickly become overwhelming when your organization embraces the cloud and ends up having thousands of resources in its AWS infrastructure.

This chapter focuses on different solutions related to provisioning resources in AWS. You first learn about the AWS CLI, an alternative to deploying resources directly in the AWS Management Console. You also learn the essentials of managing EC2 AMIs.

To make the process of provisioning AWS infrastructure resources easier, this chapter explores using templates with AWS CloudFormation. By using AWS Elastic Beanstalk, you learn how to make the process of deploying applications in your AWS infrastructure easier.

To gain better visibility of your AWS infrastructure, you explore the AWS Systems Manager. You also learn how to share resources between different AWS accounts and regions by using the AWS Resource Access Manager.

Deployment Tools in AWS

This section covers the following official AWS Certified SysOps Administrator – Associate (SOA-C02) exam topics for Domain 3: Deployment, Provisioning, and Automation:

3.1 Provision and maintain cloud resources

3.2 Automate manual or repeatable processes

CramSaver

If you can correctly answer these questions before going through this section, save time by skimming the Exam Alerts in this section and then completing the Cram Quiz at the end of the section.

1. What are the three primary methods to interact with AWS resources and services?

2. Which IaaC AWS tool can you use to configure an EC2 instance using a YAML-formatted configuration file?

Answers

1. Answer: AWS CLI, the Management Console, and SDK

2. Answer: AWS CloudFormation

One of the primary reasons to migrate to a cloud solution is to have access to an easy way to provision resources. The following sections cover a wide variety of tools that are designed to simplify how you provide different AWS resources.

AWS CLI

You can interact with AWS resources and services in three primary ways:

Management Console: This tool is often the most common way to interact with AWS resources and services. The Management Console is the web-based interface that allows you to navigate your AWS environment to view, create, modify, and destroy AWS resources and services.

 SDK: A software developer kit provides software developers with the tools needed to communicate with AWS. SDKs are written for specific languages, and at the time of writing this book, the following languages have an AWS SDK: JavaScript, Python, PHP, .NET, Ruby, Java, Go, Node.js, and C++.

CLI: A command-line interface is a tool that allows you to perform actions within AWS using text-based commands. Like an SDK, a CLI enables you to automate processes (using shell scripts, for example). When using the Management Console, you can select options using the web-based interface. When using a CLI, you must be aware of these options and the commands associated with specific AWS operations.