Posts

Showing posts from May, 2020
Image
Install and Configure the CloudWatch Logs Agent on a Running EC2 Linux Instance What is Amazon cloud watch? Amazon Cloud watch is a monitoring service which can collect metrics, manage alarms and it will react instantly to changes in users AWS resources. Basically repository and this service provided to developer to check the performance of the application in AWS cloud. Configure Your IAM Role or User for CloudWatch Logs: Create policy: Add JSON policy here:  Create Policy name and Description: Create Role: Attach policy to Role: Step 2: Install and Configure CloudWatch Logs on an Existing Amazon EC2 Instance: Configure Cloud Watch Logs on an existing Amazon Linux instance: After configuring the Amazon Linux 1. User can use the default configuration to minimize the complication. Attach IAM role to the Instance to get cloud watch logs. Next we will be using PuTTy agent to connect to the instant using ssh. Use the followi...
Image
Scale and Load Balance Your Architecture. Auto scaling deals with the load of traffic by adding or removing instances. In AWS Directing request from different sources to different Instances to ensure that all instances work equally as possible it known as elastic load balancing.    A load Balancer obtains incoming traffic from various clients and routs them to the registered targets. It also ensures the health of its registered targets. When an unhealthy target detected by the load balancer, it stops routing traffic to the target and resumes routing traffic to the target when the target is healthy back again. Types of load balancers supports Elastic load balancer: 1.      Application Load balancer 2.      Network load Balancer 3.      Classic Load Balancer In this activity we are building an infrastructure to balance the traffic for a particular web page. Task 1: Create an AMI for Auto Scaling: I...
Image
Build Your DB Server and Interact With Your DB Using an App Amazon RDS : Amazon RDS is flexible web service to setup, Operate and scale in rational database in AWS cloud. Amazon RDS database engines: Amazon Aurora, PostgreSQL,MySQL,MaraDB,Oracle,SQLServer. Task 1: Create a Security Group for the RDS DB Instance : DB Instance is the main structure of Amazon RDS also and isolated database in the AWS cloud. Login to your AWS management console and click on the VPC on the service menu. And Create a Security Group. Task 1: Create a Security Group for the RDS DB Instance : DB Instance is the main structure of Amazon RDS also and isolated database in the AWS cloud. Login to your AWS management console and click on the VPC on the service menu. And Create a Security Group. Edit inbound Rules: Task 2: Create a DB Subnet Group Configure and launch a Multi-AZ Amazon RDS for MySQL database instance.    Configure: ·    ...
Image
Amazon Elastic Block Store EBS is a block storage system that is used to store persistent data and has 3 types of volumes differentiated based on performance characteristics and cost namely. General Purpose (SSD), Provisioned IOPS (SSD), and Magnetic. EBS Volume Types: EBS General Purpose (SSD) EBS General Purpose (SSD) is preferably suitable for small and medium workloads, has a storage capacity from 1GB to 1TB with a cost of $0.10 per GB for one month and supports, SSD 3 IOPS /GB by default. Provisioned IOPS (SSD) Provisioned IOPS (SSD)is preferably suitable for the highest demanding I/O intensive, transactional workloads and large relational, EMR and Hadoop workloads, it costs $0.125 per GB per month for provisioned storage and $0.10 per provisioned IOPS per month and IOPS SSD supports 30 IOPS/GB by default EBS Magnetic Volumes EBS Magnetic Volumes is preferably suitable workloads which infrequently access data, such as data backups, logs sto...