Posts

AWS Services:EC2 – Elastic Cloud ComputeEBS – Elastic Block StoreAuto scalingELB – Elastic Load BalancerS3 – Simple Storage serviceIAM – Identity and Access Management VPC – Virtual Private CloudDNS Route 53 - DNS RDS – Relational Database Service

SOUTH GOA BEACH

GOA TOUR PLAN

what is DevOps ?

day to day tasks as a devop engineer

When you were in college, you wanted a job. When you got a job in service-based company, You wanted product-based. When you got 5 LPA package, you wanted 20 LPA. When you got 25 LPA, You wanted 40 LPA. When you got 50 LPA CTC, you wanted 50 LPA Fixed. When you got 60 LPA fixed, You wanted to build a startup. When you got successful in that, you wanted early retirement. When you retired early, you wanted unlimited passive income. When you got everything you ever wanted, You wanted time to enjoy it. Hence, Time is your most valuable asset and it cannot be equated with your earnings. Enjoy your 20s and 30s by both working hard and playing hard. Feel the satisfaction of hitting milestones. The finish line is not really important. Achieve your own goals ( Not society's expectations ) You don't need to prove anything to anyone but yourself. Nobody is measuring you, they are busy in their lives. You are the only opponent to yourself in this battle. The sooner you realize this, Your priorities start to change. Life becomes meaningful.

Q1: List the components required to build Amazon VPC? Ans: Subnet, Internet Gateway, NAT Gateway, HW VPN Connection, Virtual Private Gateway, Customer Gateway, Router, Peering Connection, VPC Endpoint for S3, Egress-only Internet Gateway. Q2: How do you safeguard your EC2 instances running in a VPC? Ans: Security Groups can be used to protect your EC2 instances in a VPC. We can configure both INBOUND and OUTBOUND traffic in a Security Group which enables secured access to your EC2 instances. Security Group automatically denies any unauthorized access to your EC2 instances. Q3: In a VPC how many EC2 instances can you use? Ans: Initially you are limited to launch 20 EC2 Instances at one time. Maximum VPC size is 65,536 instances. Q4: Can you establish a peering connection to a VPC in a different REGION? Ans: Not possible. Peering Connection are available only between VPC in the same region. Q5: Can you connect your VPC with a VPC owned by another AWS account? Ans: Yes, Possible. Provided the owner of other VPCs accepts your connection. Q6: What are all the different connectivity options available for your VPC? Ans: Internet Gateway, Virtual Private Gateway, NAT, EndPoints, Peering Connections. Q7: Can a EC2 instance inside your VPC connect with the EC2 instance belonging to other VPCs? Ans: Yes, Possible. Provided an Internet Gateway is configured in such a way that traffic bounded for EC2 instances running in other VPCs. Q8: How can you monitor network traffic in your VPC? Ans: It is possible using Amazon VPC Flow-Logs feature. Q9: Difference between Security Groups and ACLs in a VPC? Ans: A Security Group defines which traffic is allowed TO or FROM EC2 instance. Whereas ACL, controls at the SUBNET level, scrutinize the traffic TO or FROM a Subnet. Q10: Hon an EC2 instance in a VPC establish the connection with the internet? Ans: Using either a Public IP or an Elastic IP. Q11: Different types of Cloud Computing as per services? Ans: PAAS (Platform As A Service), IAAS (Infrastructure As A Service), SAAS (Software As A Service) Q12: What is Auto Scaling? Ans: Creating duplicate instances during heavy business hours. Scale-IN and Scale-OUT are two different statues of Scaling. Scale-IN: Reducing the instances. Scale-OUT: Increasing the instances by duplicating. Q13: What is AMI? Ans: AMI is defined as Amazon Machine Image. Basically it’s a template comprising software configuration part. For example, Operating System, DB Server, Application Server, etc.,

devops project 1

Python Interview Question

bash script for basic system information

cron job for pushing data

Create a free tier aws account and perform a below step 1.Launch EC2 instance available Freeware with Linux operating system 2.Create a user with name Gibots on Linux instance 3.Create a IAM user having access to create s3 bucket and upload files to it 4.Create a shell script on the Linux instance and add a cron job which send CPU,Hard Disk and RAM utilisation daily 1 PM 5.Create .pem file for Gibots user and share a command using which we can able to login from our terminal and verify script written into the step

devops questions