You are on page 1of 31

IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Bigu – R00158840

Class: HDip in Cloud Computing.

Date: 23.02.2020.

Lab No: 1.

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)

Lab title: Introduction to Amazon Simple Storage Service (S3)

As in the title the scope of this lab was to give us a general idea of how AWS S3 Storage
can be used. I was automatically logged into AWS Management Console I had to create a
bucket in Amazon S3, then I had to add an object to my bucket, manage access
permissions on the object, create a bucket policy and at the end I’ve seen how to use
bucket versioning.

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

I followed the steps of each task of the lab and I didn’t encounter any problem. Creating a bucket
was straight forward, as well as uploading an object to the bucket. I’ve seen how to make the
object public and more than that if I want to have all the objects inside the bucket public, I can
just set a bucket policy that applies to all of the objects inside. I could set the JSON format policy
using the AWS Policy Generator. I also explored versioning and I’ve seen how S3, if has versioning
enabled, can save older versions of an object in case it’s been deleted by mistake by user or by an
application failure. I will add some captures of steps done.
Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)

The lab gave me a good idea of how AWS S3 Storage is being used and what are some of the
main functionalities that I need to know like: creating a bucket, uploading object and make
it public, creating a bucket policy and how to use versioning.
IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Alin Bigu – R00158840

Class: HDip in Cloud Computing.

Date: 07.03.2020.

Lab No: 2.

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)
Title of the lab is: Introduction to Amazon DynamoDB. To complete this lab, I’ve used AWS
Management Console. After logging in I had to access DynamoDB from the services.

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

For this lab I had to follow some steps and complete some tasks. I first had to
create a New Table, set a name, a primary key and a sort key.
After that I’ve added data to the table created and I’ve seen how you can add additional
attributes to items and how items may have different attributes.

For the next task I’ve seen how you can modify an existing item

I did a query on the table and a scan and I’ve seen the difference between them.
At the end I had to delete the whole table.

Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)
In this lab I went through basics of AWS DynamoDB Service. I have created a table, added
data, modified the data, searched the table for information and at the end delete the table.
IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Bigu – R00158840

Class: HDip in Cloud Computing

Date: 07.03.2020.

Lab No: 3.

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)

The title of this lab is: Introduction to Amazon CloudFront. To complete this lab, I had to log
into AWS Management Console and use S3 and CloudFront services.

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

For the first task I had to create a S3 bucket, upload an image to the bucket and set the
permission to Grant public read access to this object.
For the next task I had to create an Amazon CloudFront Web Distribution. When
creating the distribution, I got an error saying that the distribution couldn’t be created

com.amazonaws.SdkClientException: Unable to execute HTTP request: Connect to


cloudfront.amazonaws.com:443 [cloudfront.amazonaws.com/54.239.29.51] failed: connect timed out

I refreshed the browser and started again but after clicking create distribution again I
could see that the first one was deployed.

For the next task I had to create a link to my object by copying a html file given and edit
it with my created distribution domain name and the name of my uploaded object. At
the end when clicking the file, I got my image in the browser.
For the last part I had to disable my distributions and delete them as well as deleting my
bucket.
Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)
In this lab I could how the Amazon CloudFront is being used. For that I have created an
Amazon S3 bucket, uploaded an image and then with CloudFront service I have created a
distribution that has used CloudFront domain name in the URL to distribute my public
accessible image.
IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Bigu – R00158840

Class: HDip in Cloud Computing.

Date: 07.03.2020.

Lab No: 4

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)

Lab title: Introduction to AWS Identity and Access Management (IAM)


For completion of this lab I had to log in into AWS Management Console and use IAM, S3
and EC2 services.

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

As part of the process at the beginning of the lab I had to explore some pre-
created IAM Users and Groups.
I could see permissions, security credentials and which group they belong to for the
users. For groups I got to see what type of permissions they have and what policy they
have configured.
For the next task I had to add users to different groups based on a business
scenario given.

By adding the users to different groups, it means they are taking the same permissions
as the groups they belong to. So, in the 3rd task I had to log in as every user and tried to
use some AWS Services to check the permission assigned and restrictions.
User-1 has the permission to see S3 buckets but doesn’t have access to see EC2
Instances.

User-2 can view EC2 instances but it doesn’t have permission to stop them and it
doesn’t have access to S3 services
User-3 is an EC2 admin so it has the permission to stop instances

Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)

This lab gave me a good idea of how to use AWS IAM Services. I could see permissions
and policies and how they can be assigned to different groups. I’ve also seen how that
can be useful especially when you have users with different privileges or restrictions.
IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Bigu – R00158840

Class: HDip in Cloud Computing.

Date: 14.03.2020.

Lab No: 5

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)

Lab title: Introduction to AWS Lambda


For this lab I had to connect to AWS Management Console use AWS S3, AWS Lambda and at the
end see some information stored in Amazon CloudWatch

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

For the first step I had to create 2 AWS S3 buckets and upload an image in the first
bucket. All of this will be used further in the lab.
With the second task I had to create an AWS Lambda Function and set the role so that
the function has access to Amazon S3 to read and write the images.

I then had to configure the function so it can be triggered when a new object is created
in the AWS S3 bucket.

For the next task I had to test the function created. I managed to do that by creating a
test event and updating the given code with my bucket name and my object name.
After creating the test and test was successful, I could see in my second bucket the same
image but resized.

At the end I could see the monitoring graphs of my created function as well as the logs
retained in Amazon CloudWatch Logs.
Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)

This lab was an introduction to AWS Lambda service. For the duration of the lab I had to
create AMW S3 buckets and upload an object into one of them, create an AWS Lambda
Function and configure it for my buckets, test the function created and then see it’s
monitoring and logs.
IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Bigu – R00158840

Class: HDip in Cloud Computing.

Date: 14.03.2020.

Lab No: 6

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)

Lab title: Introduction to Amazon API Gateway


For this lab I had to connect to Amazon Management Console and with the use of AWS Lambda
service, I had to create a function, I had to configure it so it will be triggered by an API Gateway
and at the end test it.

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

The first task was to create the function:

I then had to use the code given and add it to the function code
After editing the description, I had to create an API Gateway endpoint to trigger the
function.

In the second task I had to test the function, first by opening the API endpoint in the
browser

Second by testing in isolation


For the last part I had to analyze the log information in the Lambda Management
Console and in CloudWatch

Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)

This lab was an introduction to Amazon API Gateway. I’ve seen how to create an AWS
Lambda function and an Amazon API Gateway endpoint to trigger the function. For the last
part I saw how to debug API Gateway and Lambda with Amazon CloudWatch.
IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Bigu – R00158840

Class: HDip in Cloud Computing

Date: 25.03.2020

Lab No: 7

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)

Lab name: Introduction to AWS Key Management Service


I had to log into AWS Management Console and to be able to complete this lab I had to use the
following services: Key Management Service, CloudTrail and S3 Bucket. With KMS I have
created an encryption key, with CloudTrail I have created an S3 bucket where I uploaded an
image. I then tried to view the image in different ways, and I’ve monitored the encryption keys
usage with CloudTrail. At the end I had a look on how to manage encryption keys users’ roles.

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

For the first task I had to create the KMS master key following the steps in the lab
In the second task, with the use of CloudTrail, I have created a S3 bucket and configure it
to store log files in the new bucket.

In the third task I had to upload an image to my bucket and configure it so that will be
encrypted with the encryption key created.
Further I have accessed the image to check its encryption. If opening from the AWS
Console was successful, when copying the URL and paste it in a new tab it wouldn’t let
me view the image because the image wasn’t set for public access.

Even when enabling public access, it wouldn’t let me view it because of the encryption

For the fifth task I had to monitor the KMS activity by accessing the CloudTrail logs
inside my bucket. For the beginning I had only two log files and the last modified wasn’t
containing both encryption key id and name of the file uploaded. After waiting a few
minutes, I did a refresh and I could see more log files and in one of them I could find the
information I was looking for.
bc8f457b-c46a-4764-8f5f-159bdba133e5
https://mycloudtrailbucket26051988.s3-us-west-2.amazonaws.com/HappyFace.jpg

In the last task I could see how to manage my encryption keys, add or remove Key
Administrators and Key users.

Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)

In this lab I’ve seen how I can create encryption keys, how to create S3 buckets with
CloudTrail logging functions, encrypt an image and store it in my S3 bucket, how to view
the encrypted image, monitor my encryption key usage using CloudTrail and then manage
my encryption key by adding or removing users and roles.
IT Solutions Architecture Lab Report:

Instructions:

Please complete the report under the following headings in as complete manner as
possible;

Name: Marius Bigu – R00158840

Class: HDip in Cloud Computing

Date: 26.03.2020

Lab No: 8

Lab Description:

(Describe the lab including the title, AWS service(s) used as part of the lab, technology and
process involved in completing the lab)

Lab name: Introduction to AWS Device Farm


After logging to AWS Management Console, I had to use Device Farm Service. I have
downloaded an android app from a given list and then I have uploaded into a project created in
Device Farm. I could then test it and review the results of my test.

Lab Format:

(Functionality and steps involved in completing the lab, what was the process you followed, did
you encounter any issues and what steps did you take to correct the problem.

For the first step I had to download one of the apps from the list given and then create a
mobile device project on Device Farm
For the second step I had to create a new run and upload my application so it can be
tested

In the last task I could run the test but I had to wait a good few minutes to have it all
done.
I could follow the testing process and I could even see details of the devices tested. As
we can see in the image there were 4 devices already tested and I had to wait for the last
one

At the end when the test was finished, I could see the test result for each device.
By clicking on each device I could see a video with the device being tested, the total
number of suites, logs, performance, files and screenshots captured during run.

Lab Outcome:

(What did the lab achieve, what was accomplished by the completing the lab)

In this lab I’ve seen how I can create an AWS Device Farm project where I have uploaded a
sample Android app, test the app and view the result of the test suite run.

You might also like