Lab Goal In this lab, we aim to create an infrastructure integrated with auto scaling and load balancing. We will try to deploy an application load balancer in this scheme. We start with an infrastructure shown in figure 1 and aim to create the infrastructure pictured in figure 2. Figure 1. Starting infrastructure Figure 2.… Continue reading Scale and Load Balance Your Architecture
Category: NET702 Cloud Services
Install and Configure CloudWatch Logs Agent on an EC2 Instance
Create Policy and Role Going to IAM, we will try to create a role which allows an EC2 to write and list CloudWatch Logs. Go to IAM and select Policies. Create a new Policy with these JSON attached. { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "logs:CreateLogGroup", "logs:CreateLogStream", "logs:PutLogEvents", "logs:DescribeLogStreams" ], "Resource": [… Continue reading Install and Configure CloudWatch Logs Agent on an EC2 Instance
Amazon RDS
Lab Goal In this lab, we will launch Amazon RDS with high availability and configure it for a web server to access. In addition to that, we will test a web application to interact with the database. This would be the network scenario look like. The setup has been initially created except all the configurations… Continue reading Amazon RDS
Amazon Elastic Block Storage
Lab Goal Figure 1. Lab goal For this lab, we will dwelve into Amazon Elastic Block Storage (EBS). Our goal is to attach an Amazon EBS to an EC2 instance and creating a snapshot of it which will be stored in S3 bucket. In addition to that, we will also try to attach an Amazon… Continue reading Amazon Elastic Block Storage
AWS Elastic Beanstalk
Access the Elastic Beanstalk Environment Under Services, access Elastic Beanstalk. Now in the Elastic Beanstalk dashboard, you would be able to see a pre-deployed environment under the All environments box. Figure 1. Elastic Beanstalk dashboard Click on the environment name to display it for more detailed view. Make sure that the environment health is green… Continue reading AWS Elastic Beanstalk
AWS Lambda
Lab Goal Figure 1. Lab goal In this lab, we will try to create an AWS lambda function that will be trigerred by a time-based CloudWatch event. The lambda function will have an IAM role attached to it for access of stopping EC2 instances. Create Lambda Function From the main dashboard, go to Services >… Continue reading AWS Lambda
Introduction to Amazon EC2
In this lab, we will go through a series of steps to create and configure an EC2 instance. In addition to that, we will dwelve in to securing, scaling and monitor an instance. Launch Amazon EC2 Instance To start, go to Services and select EC2 under the Compute category. Click on Launch Instance and you… Continue reading Introduction to Amazon EC2
Build your VPC and Launch a Web Server
Scenario Below is the scenario we are aiming to make in this lab in AWS. In a VPC we will create a pair of public and private subnet in 2 different availability zone. The NAT gateway will be in public subnet 1 and a web server controlled by a security group will be deployed in… Continue reading Build your VPC and Launch a Web Server
AWS Best Security Practices
Study case analysis In this lab, we are to identify security requirements of IAM in a scenario where an organization runs a static website on Amazon S3 and a DNS service with Route 53. In a broad perspective, the assets on the scenario would possibly be the static website HTML itself and the database that… Continue reading AWS Best Security Practices
Introduction to AWS IAM
Explore Users and Groups By going in to Services > IAM, it would bring you to the dashboard. On the left panel, under Access management click on Users. From this list, you would be able to manage the users that have certain privileges in the AWS account. Figure 1. IAM Users By clicking one of… Continue reading Introduction to AWS IAM