Book Image

The Self-Taught Cloud Computing Engineer

By : Dr. Logan Song
Book Image

The Self-Taught Cloud Computing Engineer

By: Dr. Logan Song

Overview of this book

The Self-Taught Cloud Computing Engineer is a comprehensive guide to mastering cloud computing concepts by building a broad and deep cloud knowledge base, developing hands-on cloud skills, and achieving professional cloud certifications. Even if you’re a beginner with a basic understanding of computer hardware and software, this book serves as the means to transition into a cloud computing career. Starting with the Amazon cloud, you’ll explore the fundamental AWS cloud services, then progress to advanced AWS cloud services in the domains of data, machine learning, and security. Next, you’ll build proficiency in Microsoft Azure Cloud and Google Cloud Platform (GCP) by examining the common attributes of the three clouds while distinguishing their unique features. You’ll further enhance your skills through practical experience on these platforms with real-life cloud project implementations. Finally, you’ll find expert guidance on cloud certifications and career development. By the end of this cloud computing book, you’ll have become a cloud-savvy professional well-versed in AWS, Azure, and GCP, ready to pursue cloud certifications to validate your skills.
Table of Contents (24 chapters)
1
Part 1: Learning about the Amazon Cloud
9
Part 2:Comprehending GCP Cloud Services
14
Part 3:Mastering Azure Cloud Services
19
Part 4:Developing a Successful Cloud Career

Accessing S3 from EC2 instances

Now that we have launched an EC2 instance in Chapter 1 and created S3 buckets in Chapter 2, naturally, we will ask the question: do my EC2 instances have access to my S3 buckets?

To answer this question, we need to look at it from two perspectives:

  • S3 is a public endpoint, so the EC2 instance needs to have a public IP address.

However, that’s not enough – when you log into the EC2 instance, and run the command (as shown in the following figure):

aws s3 ls

You will find that there are no S3 buckets listed:

Figure 2.14 – No S3 bucket is found from EC2

Figure 2.14 – No S3 bucket is found from EC2

  • To have an EC2 instance access S3 buckets, we need to assign an IAM role to the EC2 instance. Recall that we briefly covered this in the EC2 section in Chapter 1:

An IAM role can be assigned with permissions to access other AWS resources, such as reading an Amazon Simple Storage Service (S3) bucket. By attaching the IAM...