Thursday, February 20, 2020

AWS Products

Different AWS products are categorised to different groups. The group name will be putting against each product heading in Italics

AWS Lambda λ  - Computing

  • https://aws.amazon.com/lambda/features/  & https://en.wikipedia.org/wiki/AWS_Lambda
  • Serverless service that runs your code in response to events and automatically manages the underlying compute resources for
  • This is an event capturing service. If a function is created and assigned to DB each event in the DB invokes this λfunction service
  • Server less compute which an be used to address a use case quickly. Later on when it can be moved to EC2 when needed
  • There cab be synch and asynch λfunction
  • No allocation of CPU and only allocate Memory(128M to 3GB) for λ functions
  • λ function should finish within a maximum of 15 minutes
  • charged on how much time a λ function takes to execute
  • Steps
  1. Go to IAM and create a role of type AWS Service and select λ and click next button
  2. Select the AWSLambdaBasicExecutionRole from the policy list which provide write access to CloudWatch Log
  3. Provide the name as "LambdaBasicExecutionRole" in the last step and click on create 
  4. Go to Lambda console and click on create function button to create a lambda function which provide the following options and select the first one
    1. Author from Scratch
    2. Use blue print
    3. Deploy from AWS Serverless Repository 
  5. Provide the following details
    1. Function Name: HelloName
    2. Runtime: Any runtime like nodejs, java etc.
    3. Role:  Role created above
  6. Give the following details to the above  λ function
    1. code entry type: Edit code inline
    2. Runtime: Node.js
    3. handler: index.handler (Need to create a file named index.js and put a function named handler in that file)
  7. In the code pane create a new file named index.js  with the following details
    1. exports.handler = async(event) => {
    2.     console.log("event:" +JSON.stringify(event));
    3.     const response = {
    4.         statusCode : 200,
    5.         body : JSON.stringify("Hello from Lambda λ " + event.name)
    6.     };
    7.     return response;
    8. };
  8. Now click on Test and create the json as {name: MyName} and execute you can see that the λ function got executed
  9. Now need to create an API using API Gateway
  10. Create a new REST API with the following settings
    1. Protocol : REST
    2. New API
    3. API Name: HelloName
    4. EndPoint type: Regional (Regional, Edge Optimised, Private)
  11. Click on Actions dropdown menu and click Create Method
  12. Select GET as the method type on default(/)
  13. Select newly created GET method to define its properties as given below
    1. Integration type: λ function(other values can be HTTP, Mock, AWS Service, VPC Link)
    2. Use λ proxied integration selected. That will make sure to take the input request and patches them and send that to the λ function event
    3. λ Function: The previous one created and click on save button
  14. The API got created. Click on Method Request and add a query parameter as "name"
  15. Now need to change the λ function to make the following change
    1. body : JSON.stringify("Hello from Lambda λ " + event.name) changed to body : JSON.stringify("Hello from Lambda λ " + event.queryStringParameters.name)
  16. Now the API Gateway is ready to test
  17. To Deploy the API click on Actions(Dropdown menu) -> Deploy API . After deployment you will be getting a url that will be available to invoke the API

Amazon CloudFront - Networking & CDN

  • It is the the CDN in amazon
  • Can constraint access 

Amazon Route 53  - Networking & CDN

  • Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service

AWS Identity Access Manager(IAM) - Security & Identity

  • 1000 roles for an account as a soft limit. It can be get increased if required via contacting AWS
  • With IAM, you can centrally manage users, security credentials such as access keys, and permissions that control which AWS resources users and applications can access

  • Identity manager that allows with social login as well

Amazon Inspector - Security & Identity

  • tests the network accessibility of your Amazon EC2 instances and the security state of your applications that run on those instances
  • After performing an assessment, Amazon Inspector produces a detailed list of security findings that is organized by level of severity
  • also offers predefined software called an agent that you can optionally install in the operating system of the EC2 instances that you want to asse

Amazon Shield - Security & Identity

  • AWS WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to an Amazon API Gateway API, Amazon CloudFront or an Application Load Balancer
  • can use AWS WAF web access control lists (web ACLs) to help minimize the effects of a distributed denial of service (DDoS) attack. For additional protection against DDoS attacks, AWS also provides AWS Shield Standard and AWS Shield Advanced
  • AWS Shield Standard is automatically included at no extra cost beyond what you already pay for AWS WAF and your other AWS services

AWS Security Hub - Security & Identity

  • provides you with a comprehensive view of your security state in AWS and helps you check your compliance with the security industry standards and best practices

Amazon API Gateway

AWS Elastic Beanstalk - Computing

EKS, AWS Fargate  - Computing 


Amazon Aurora  - Database

  • fully managed relational database engine that's compatible with MySQL and PostgreSQL
  • can deliver up to five times the throughput of MySQL and up to three times the throughput of PostgreSQL
  • Aurora is part of RDS

Amazon Kinesis - Analytics

  • https://aws.amazon.com/kinesis/
  • Processing big data in real time. Data Streams is a scalable and durable real-time data streaming service that can continuously capture gigabytes of data per second from hundreds of thousands of sources. Easily collect, process, and analyze video and data streams in real time

Amazon EMRAnalytics

  • Easily Run and Scale Apache Spark, Hadoop, HBase, Presto, Hive, and other Big Data Frameworks

Amazon Athena Analytics

  • an interactive query service that makes it easy to analyze data directly in Amazon S3 using standard SQL
  • is serverless
  • scales automatically—executing queries in parallel—so results are fast, even with large datasets and complex queries

Amazon Redshift Analytics

AWS CloudFormation Management & Governance

  • is a service that helps you model and set up your Amazon Web Services resources so that you can spend less time managing those resources and more time focusing on your applications
  • You create a template that describes all the AWS resources that you want (like Amazon EC2 instances or Amazon RDS DB instances), and AWS CloudFormation takes care of provisioning and configuring those resources for you. You don't need to individually create and configure AWS resources and figure out what's dependent on what; AWS CloudFormation handles all of that

AWS CloudTrail Management & Governance

  •  is an AWS service that helps you enable governance, compliance, and operational and risk auditing of your AWS account
  • Actions taken by a user, role, or an AWS service are recorded as events in CloudTrail

AWS Database Migration Service Migration & Transfer

  • cloud service that makes it easy to migrate relational databases, data warehouses, NoSQL databases, and other types of data stores
  • can use AWS DMS to migrate your data into the AWS Cloud, between on-premises instances (through an AWS Cloud setup), or between combinations of cloud and on-premises setups
  • can perform one-time migrations, and you can replicate ongoing changes to keep sources and targets in sync

AWS Snow Ball Migration & Transfer

  • uses physical storage devices to transfer large amounts of data between Amazon S3 and your onsite data storage location at faster-than-internet speeds
  • Snowball devices are physically rugged devices that are protected by the AWS Key Management Service (AWS KMS)
  • 80 TB and 50 TB models are available in US Regions; 50 TB model available in all other AWS Regions

AWS DataSync Migration & Transfer

  • online data transfer service designed to simplify, automate, and accelerate copying large amounts of data to and from AWS storage services
  • copies data over the internet or AWS Direct Connect

2 comments:



  1. Thank you for sharing wonderful information with us to get some idea about that content.
    Workday Training Online
    Workday Training

    ReplyDelete
  2. This is an amazing blog, thank you so much for sharing such valuable information with us.
    Mulesoft Training
    Mulesoft Self Learning

    ReplyDelete