Aws Blog Posts

Serverless Framework for Log Analysis A step by step guide

Why to Analyse Logs?
In the modern world, business applications continue to evolve, the log data generated becomes huge and complex and file that store the logs continue to grow. To get the meaningful data out of the large chunks of generated data, log analytics tools help in extracting the data as desired. The analysis will also help in deriving the metrics about an application and its performance over a period.
Log Analysis is used to collect, index and store massive amounts of data from any source deployed in the cloud. Since each log file includes audit information and we can use the dashboards to analyse the collected log data and compare results specific to business needs.
Further, log analytics tools can help in identifing the root cause of an issue and consequently give the admins a chance to prevent such issues from occurring in the future. When a problem occurs, the critical concerns are:
Identifying the log file which contains the issue
Locating the server
Searching for the data (e.g., timestamp, version, etc.)

3 Likes 1134 Views
AWS Interview Question and Answers (Part-I)

1. What is VPC?
VPC(Virtual Private Cloud)  is one of the Cloud service provided by AWS to launch your resource like EC2, RDS, etc., On the virtual network isolated from other services of cloud.
2. What are the subnets and types of subnets?
When we have a large single network it would be difficult for us to maintain. So for better maintenance, we will divide that network into two or more small networks as per our requirement. These are called subnets. This process is called Subnetting. Subnet allows an organization to connected to the internet with a shared network. All IPs on the subnet have the same prefix.
Subnets in AWS are the subset of the VPC CIDR block.
We have two types of subnets in AWS:
1.Public Subnets: Subnet which is associated with a routing table that has a route to the internet gateway (Used to connect to the internet directly) is called Public Subnet. (EX: Web servers)

1 Likes 1055 Views
How to extend your AWS EBS volume size

If you have an aws ec2 instance and a volume attached to it, now you want to increase the size of your volume to have more data.
To do this you can follow these simple steps.
Go to EC2 volumes and choose the volume you want.
Under Actions -> Modify Volume.
Modify the size you want and click on Modify
I have a volume with size 8 GB and extending it to 20GB.
Procedure is done from aws console end, now we have to log in to our instance and extend the volume size.

0 Likes 836 Views
Introduction to Infrastructure as Code with Terraform

infrastructure as code (IaC) is the managing and provisioning of infrastructure through code instead of using a manual process to configure devices or systems. Over the years, IT infrastructure provisioning has been done manually. The people responsible for the process have to rack and stack the servers physically. Also, they have to manually configure the hardware to the desired settings and requirements of the operating system and the hosted application.
IaC helps you automate the infrastructure deployment process in a repeatable, consistent manner. Infrastructure as Code can simplify and accelerate your infrastructure provisioning process, help you avoid mistakes and comply with policies, keep your environments consistent, and save your company a lot of time and money.
There are two parts in IaC:
1. Infra provisioning: Provisioning infrastructure manually is a time-consuming process and it is impossible to guarantee zero errors. Automating the provisioning of infrastructure eliminates configuration drift, ensures predictability in what is provisioned, and makes your software delivery process much more reliable.
eg: Terraform, Cloud Formation, ARM templates
2. Configuration: Configuration Management (CM) ensures that the current design and build a state of the system is known, good & trusted.
eg: Ansible, Puppet, Chef.

0 Likes 761 Views