1. What is AWS CloudTrail?
AWS CloudTrail is a logging service by AWS, which logs activities of your AWS resouces.
2. What are the benefits of CloudTrail integration with CloudWatch Logs?
It enables you to receive SNS notifications on the API activity logged by CloudTrail. For example, you can create CloudWatch alarms to monitor API calls that create, modify and delete Security Groups and Network ACLs.
3. What happens if CloudTrail is turned on for my account but my Amazon S3 bucket is not configured with the correct policy?
CloudTrail files are delivered according to S3 bucket policies, if the bucket is not configured or is misconfigured, CloudTrail might not deliver the log files.
4. How do I transfer my existing domain name registration to Amazon Route 53 without disrupting my existing web traffic?
You will need to get a list of the DNS record data for your domain name first, it is generally available in the form of a “zone file” that you can get from your existing DNS provider Once you receive the DNS record data, you can use Route 53’s Management Console or simple web-services interface to create a hosted zone that will store your DNS records for your domain name and follow its transfer process, it also includes steps such as updating the nameservers for your domain name to the ones associated with your hosted zone. For completing the process you have to contact the registrar with whom you registered your domain name and follow the transfer process. As soon as your registrar propagates the new name server delegations, your DNS queries will start to get answered.
5. Can I point my zone apex (example.com versus www.example.com) at my Elastic Load Balancer?
It can be done using the ‘alias’ record in Amazon Route 53 which lets you map your zone apex (example.com) DNS name to your ELB DNS name (i.e. elb1234.elb.amazonaws.com). While scaling or software updates your IP addresses may get changed. For an Alias record Route 53 responds to each request with one or more IP addresses for the load balancer. Queries to Alias records that are mapped to ELB load balancers are free. These queries are listed as “Intra-AWS-DNS-Queries” on the Amazon Route 53 usage report.
6. What is SQS, SNS, SES?
Simple Queing Service by AWS, is queing service which allows you to queue tasks, which act as a reference to other servers which pick these tasks from this queue.
SNS is simple notification service by AWS which helps in sending notifications to users whenever a trigger occurs.
SES is simple email service by AWS which can be used to broadcast emails to a large set of users.
All of these services can be integrated with other services in AWS and could perform various functions
7. How is buffer used in Amazon web services?
Buffer is used to make the system more resilient to burst of traffic or load by synchronizing different components. The components always receive and process the requests in an unbalanced way. Buffer keeps the balance between different components and makes them work at the same speed to provide faster services.
8. How is AWS Elastic Beanstalk different than AWS OpsWorks?
AWS Elastic Beanstalk is an application management platform while OpsWorks is a configuration management platform. BeanStalk is an easy to use service which is used for deploying and scaling web applications developed with Java, .Net, PHP, Node.js, Python, Ruby, Go and Docker. Customers upload their code and Elastic Beanstalk automatically handles the deployment. The application will be ready to use without any infrastructure or resource configuration.In contrast, AWS Opsworks is an integrated configuration management platform for IT administrators or DevOps engineers who want a high degree of customization and control over operations.
9. What happens if my application stops responding to requests in beanstalk?
AWS Beanstalk applications have a system in place for avoiding failures in the underlying infrastructure. If an Amazon EC2 instance fails for any reason, Beanstalk will use Auto Scaling to automatically launch a new instance. Beanstalk can also detect if your application is not responding on the custom link, even though the infrastructure appears healthy, it will be logged as an environmental event( e.g a bad version was deployed) so you can take an appropriate action.
10. What is AWS lambda?
AWS Lambda is a serverless compute service by AWS which can run your backend code without you setting up the resources for it i.e you just upload the code and AWS Lambda runs it for you , it’s that simple.
11. What restrictions apply to AWS Lambda function code?
Lambda imposes very few restrictions on the code that that you are trying to run, like the OS activities, but there are a few activities that are disabled. For eg: the inbound network connections, also outbound connections are supported by only TCP/IP sockets, and debugging system calls are restricted. TCP port 25 is also restricted as an anti-spam measure.
12. How do I invoke an AWS Lambda function over HTTPS?
It can be done by defining a custom RESTful API using Amazon API gateway, which gives you an endpoint for your function which can respond to REST calls like GET, PUT and POST.
13. What do you mean by ‘message in flight’ in SQS?
Ans. On receiving a message from SQS you can send a processing time back to SQS, this will not remove the message from the queue rather it will put it under ‘messages in flight’ column for the specified time, for example for processing an image say suppose your server takes 5 minutes, on extracting the job message from SQS it replies back with 5 minutes processing time, this ensures if a message has been removed from SQS the job has been processed.
AmritMatti
I’m the owner of “DevOpsTechy.online” and been in the industry for almost 5 years. What I’ve noticed particularly about the industry is that it reacts slowly to the rapidly changing world of technology. I’ve done my best to introduce new technology into the community with the hopes that more technology can be utilized to serve our customers.
I’m going to educate and at times demonstrate that technology can help businesses innovate and thrive. Throwing in a little bit of fun and entertainment couldn’t hurt right?