Amazon AWS Confiuguring WAF to Block IP address AWS WAF is a web application firewall service that helps protect your web apps from common exploits that could affect app availability, compromise security, or consume excessive resources In here we have two instances called LinuxWebserver1 and Linux Webserver3 that are part of Application Load Balancer; and… Read more »
Posts Tagged: Amazon
Amazon AWS Solution Architecture Practice Exam 2019 – Part 2
Question 6) A web application allows customers to upload orders to an S3 bucket. The resulting Amazon S3 events trigger a Lambda function that inserts a message to an SQS queue. A singleEC2 instance reads messages from the queue, processes them, and stores them in an DynamoDB table partitioned by unique order ID. Next month… Read more »
Amazon AWS Solution Architecture Practice Exam 2019 – Part 1
Question 1) A company is storing an access key (access key ID and secret access key) in a text file on a custom AMI. The company uses the access key to access DynamoDBtables from instances created from the AMI. The security team has mandated a more secure solution.Which solution will meet the security team’s mandate?… Read more »
AWS Certified Cloud Practitioner – Foundational Sample Exam Questions
1) Why is AWS more economical than traditional data centers for applications with varying compute workloads? A) Amazon Elastic Compute Cloud (Amazon EC2) costs are billed on a monthly basis.B) Customers retain full administrative access to their Amazon EC2 instances.C) Amazon EC2 instances can be launched on-demand when needed.D) Customers can… Read more »
Amazon AWS Network Elastic Load Balancer (ELB)
Feature Application Load Balancer Network Load Balancer Classic Load Balancer Protocols HTTP, HTTPS TCP TCP, SSL/TLS, HTTP, HTTPS Platforms VPC VPC EC2-Classic, VPC Health checks ✔ ✔ ✔ CloudWatch metrics ✔ ✔ ✔ Logging ✔ ✔ ✔ Path-Based Routing ✔ Host-Based Routing ✔ Native HTTP/2 ✔ ✔ SSL offloading… Read more »
Amazon AWS – CloudWatch Custom Metrics , Monitoring
Monitoring EC2 with Custom Metrics You can monitor your EC2 using CloudWatch using: CPU Network Disk Status Check Please note that RAM Utilization is a customer metric. By Default Ec2 monitors is for 5 mins interval, unless you enable detailed monitoring which will then make it 1 min intervals ( it will cost… Read more »
Amazon AWS OpsWorks Tutorial
Amazon AWS OpsWorks What is OpsWorks ? AWS OpsWorks is a configuration management service that provides managed instances of Chef . OpsWorks lets you use Chef to automate how servers are configured, deployed, and managed across your Amazon EC2 instances or on-premises compute environments. It has these parts : Chef… Read more »
Amazon AWS SSE-S3 Server Side Encryption Pt 1
AWS provides various options to encrypt your data on S3. There are 2 types of encryption: Client side: Client encrypts locally using tool/software of their choices Server Side encryption: Choose from available choices in AWS In this video, our focus will be Server Side Encryption (SSE) since Client side is… Read more »
Amazon Alexa Skills Development Tutorial
In this video, we share how we made a quiz skill that has a database integration so that your progress can be saved. These are the components of an Alexa skill: Interaction model (acts like a front-end interface) Logic (Code… Read more »
Amazon Cloud Formation With Word Press Website
Step1: Go to Cloud formation Page Create a stack Step 2: Click on select from templates and choose WordPress Blog Step 3: Choose the parameters like username, password, key etc ** make sure you choose the right ssh key because we need to log in to the EC2 server later Step 4: On the… Read more »
Amazon AWS CLI S3 With Auto-Complete
Autocomplete Lesson: To add the autocomplete feature: $ echo “complete -C aws_completer aws” >> ~/.bash_profile $ source ~/.bash_profile S3 CLI commands Create a bucket: $ aws s3 mb s3://test-saurav-123 Remove the bucket: $ aws s3 rb test-saurav-123 Creating empty files in Linux : $ touch file{1..10} Copy a local file to a bucket: $… Read more »
Amazon AWS Auto Scaling with Load Balancing
Step 1) I will take image of One of My Web server called Webserver1, when I go to public IP address I will see the content of the Web server Step 2) I will stop the Instance; then Take an image of it. Call it “Webserver1Image” Step 3) Now I will see the… Read more »
Amazon AWS Lambda Tutorial – Schedule to Stop EC2 Instances
Lambda is an event-driven compute service. We have functions that execute when a trigger is triggered. In today’s lab, we will set up a trigger with Cloud watch Events. On top of that, we will need an IAM role that gives our lambda function permissions to Stop EC2 Instances. We will also add Cloud… Read more »
Amazon AWS EFS Elastic File System and ELB
Amazon AWS EFS with ELB EFS (Elastic File System) Features EFS is storage option for EC2, that can be attached to more than one EC2, remember Volume can only be attached to one EC2 EFS is Elastic, and it is scalable ( The storage capacity will increase or decrease as you add… Read more »
Amazon AWS EBS and Instance and Volume and Snapshot Part 1 and 2
EBS Vs Instance Store, Snapshot, and Volume Instance Store Volumes are sometimes called Ephemeral Storage. Instance Store volumes cannot be stopped. If the underlying host fails, you will lose your data. EBS backed instances can be stopped. You will not lose the data in this instance if it is stopped. You can… Read more »
Amazon SNS notification with S3
Simple Notification Service (SNS) SNS is integrated into many AWS services. We are able to use it to receive notifications when events occur in our AWS Environment. With CloudWatch and SNS a full environment monitoring solution could be created that notifies administrators of alerts, capacity issues, downtime, changes in the environment, and more!… Read more »
Amazon AWS Application Elastic Load Balance (ELB)
Follow @ASM_Educational Step 1) Create Target Group 1 (Pic) and Target Group 2 (video) Step 2) Associate /Register the above group with EC1(Pic1) and EC2 (Pic2) with group 1 click target Tab ( Make sure click to add to register , then Save ) Step 3) Associate /Register the above… Read more »
Amazon AWS Nat Instance and NAT gateway
Follow @ASM_Educational The NAT Instance Install the NAT instance from Community AMI When creating a NAT instance , make sure Disable source/destination check Nat Instance must be in public subnet There must be route out of private subnet and pointed to NAT instance You Need to have a Security group for NAT… Read more »
Amazon AWS DNS Records Types
Follow @ASM_Educational From Wikipedia Type Description Function A Address Record Returns a 32-bit IPv4 address, most commonly used to map hostnames to an IP address of the host,but it is also used for DNSBLs, storing subnet masks in RFC 1101, etc. CNAME Canonical Name Record Alias of one name to another: the… Read more »
Setting Up with Amazon EC2
If you’ve already signed up for Amazon Web Services (AWS), you can start using Amazon EC2 immediately. You can open the Amazon EC2 console, click Launch Instance, and follow the steps in the launch wizard to launch your first instance.
What Is Amazon EC2?
Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware up front, so you can develop and deploy applications faster.
What Is AWS Amazon S3?
Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers.