Book Image

AWS Certified Solutions Architect ??? Associate Guide

By : Gabriel Ramirez, Stuart Scott
Book Image

AWS Certified Solutions Architect ??? Associate Guide

By: Gabriel Ramirez, Stuart Scott

Overview of this book

Amazon Web Services (AWS) is currently the leader in the public cloud market. With an increasing global interest in leveraging cloud infrastructure, the AWS Cloud from Amazon offers a cutting-edge platform for architecting, building, and deploying web-scale cloud applications. As more the rate of cloud platform adoption increases, so does the need for cloud certification. The AWS Certified Solution Architect – Associate Guide is your one-stop solution to gaining certification. Once you have grasped what AWS and its prerequisites are, you will get insights into different types of AWS services such as Amazon S3, EC2, VPC, SNS, and more to get you prepared with core Amazon services. You will then move on to understanding how to design and deploy highly scalable applications. Finally, you will study security concepts along with the AWS best practices and mock papers to test your knowledge. By the end of this book, you will not only be fully prepared to pass the AWS Certified Solutions Architect – Associate exam but also capable of building secure and reliable applications.
Table of Contents (26 chapters)
22
Mock Test 1
23
Mock Test 2

Cascading deletion

  1. Terminate your instance via the console and observe the default behavior, as shown in following screenshot:

This is a dependency that must be managed manually in order to avoid unnecessary costs. If you wish to preserve existing data for later use, a snapshot must be created, which will automatically be stored on S3. Next, delete the disk as follows:

aws ec2 create-snapshot --volume-id vol-080c266f654bca621 --description "Data volume first snapshot"
  1. Verify the status of the snapshot, as follows:
aws ec2 describe-snapshots --owner-ids self
  1. Now, delete the root and EBS volume (remember to replace the following code with your own volume-id):
aws ec2 delete-volume --volume-id vol-080c266f654bca621
aws ec2 delete-volume --volume-id vol-0cae081b840a5d91e

If successful, this command will not return any output.

...