Cognito User Pool

Amazon Cognito Account Pools lets users build and manage a profile registry and provides sign-up / sign-in to smartphone or desktop apps. Users can use social or SAML-based identity providers to sign in to a User Pool. It provides millions of users with a secure, easy, low-cost alternative, and scales.

You should incorporate improved security functionality for your application, such as multi-factor authentication and email/phone number verification. With AWS Lambda, you can configure the Amazon Cognito Account Pools workflows such as adding product-related logins for account authentication and fraud detection verification.

In First Step we will setup oAuth 2.0 using…


Creating Table in DynamoDB

This is an asynchronous operation. Upon receiving a create table request, DynamoDB immediately returns a response with a Table status of CREATING. After the table is created, DynamoDB sets the Table status to ACTIVE.

You can perform read and write operations only on an ACTIVE table.

import boto3
import json
def lambda_handler(event, context):
dynamodb = boto3.resource('dynamodb')
table = dynamodb.create_table(
TableName='UserTable',
KeySchema=
{
'AttributeName': 'username',
'KeyType': 'HASH'
},
AttributeDefinitions=
{
'AttributeName': 'password',
'AttributeType': 'RANGE'
},
ProvisionedThroughput={
'ReadCapacityUnits': 1,
'WriteCapacityUnits': 1
}
)
return table.table_status

AttributeDefinitions — An attributes which describe the key schema for the table. it is a required object.


Amazon Web Services (AWS) is providing 12 months of Free Tier account to new subscribers to get hands-on experience with all the AWS cloud services.

In this AWS Free Tier account Amazon is giving no. of deferent services use with some of the limitations to get hands-on practice and more knowledge on AWS Cloud services as well as regular business use. The AWS Free Tier is mainly designed to give hands-on experience with AWS Cloud Services for customers free of cost for a year. …


What is Cloudwatch?

Cloudwatch is a monitoring and logging service in aws which helps us to monitor our aws resources in the form of logs and metrics.

We can use cloud watch to collect metrics of the applications and services we are running in real-time.

It also helps us to store the server and application logs.

By default, Amazon Cloudwatch services collect metrics from each aws resource If required you can enable detailed monitoring as well.

In this article, We will see how we can monitor and alert for aws resources based on the metrics and threshold we configure in the cloud watch…


Lambda functions can be triggered based on the events either synchronously and asynchronously.

In this guide, We will learn how to trigger lambda functions using the Cloudwatch events.

If you’re new to the lambda function And Want to know more about Lambda function and How to Create Lambda function using AWS Console.

Invoking Lambda Functions
AWS Lambda functions can be invoked directly using the AWS Console, AWS CLI, AWS SDK, and Lambda API. It can also be invoked by other AWS services.

Setup Cloudwatch Event Rule
Let's create a cloud watch event rule to invoke the lambda functions.

Login to Cloudwatch Console, In the left panel, Under Events, Choose Rules

Click Create rule…


Amazon Aurora is a fully managed relational database engine that is compatible with MySQL and PostgreSQL. Aurora has high-performance storage sub-systems, Hence MySQL and PostgreSQL databases engines can take advantage of fast distributed storage. The storage can automatically go up to 64 TB. Amazon Aurora also provides DB clustering and replication.

High Availability
When we set up the Aurora cluster, We will be having two endpoints.

Writer endpoint — which is used for reading and writing connections.
Reader endpoint — which is used for read-only connections.
We will also get the instance endpoints while we set up the aurora cluster.


There are many resources available online for training and every one among them is sweet in its own ways. I shortlisted Stephane Maarek for my preparation and Tutorialsdojo for the practice exam some more questions to practice you will get on the examtopics website.

What I did I first gone through the AWS Solution Architect- Associate course by Stephane Maarek then I have given the exam Associate level and I cleared that from there I learned approximately all services which come in the exam with hands-on then I have gone through AWS solution Architect- Professional course by Stephane maarek 2…


https://www.youracclaim.com/badges/de69281d-7234-44eb-81ce-9f88fbea062a/linked_in

I just passed my AWS Certified Solutions Architect Associate exam and I want to share my experience and exam preparation tips with you. Currently, the platform has over 175 fully-featured services different services and new services are launching a day.

Solutions Architect Associate Exam Topics

  1. EC2 (AZ, auto-scaling, load balancer, security group)
  2. VPC (subnet, NAT gateway, Bastion Host, Network ACL)
  3. S3 (different S3 classes, encryption, versioning, cross-region replication, lifecycle)
  4. RDS (multi-AZ, cross-region replication)
  5. Storage: Glacier, DynamoDB, Storage gateway, Aurora, ElastiCache, Redshift, EFS.
  6. Compute: Lambda, ECS, Elastic Beanstalk
  7. Networking: Route53, API Gateway, CloudFront
  8. Management & Monitoring: IAM, CloudWatch, CloudFormation, KMS.
  9. Analytics: Kinesis, Athena
  10. Applications: SQS, SNS.

Tips for the exam:


DynamoDB can trigger AWS Lambda when the data is added to the tables, updated, or deleted. In this chapter, we will work on a simple example that will add items to the DynamoDB table and AWS Lambda which will read the data and send a mail with the data added.

Requisites:

To use Amazon DB and AWS Lambda, we need to follow the steps as shown below −

  1. Create a table in DynamoDB with a primary key
  2. Create a role that will have permission to work with DynamoDB and AWS Lambda.
  3. Create a function in AWS Lambda
  4. AWS Lambda Trigger to…


workflow

In this tutorial, we going to connect Google Assistant to Amazon AWS through Dialog Flow.

The goal is to make a program that can manage and respond to a user voice request.

Following are the things we are going to use:

Dialog flow is a Google-owned developer of human-computer interaction technologies based on natural language conversations. Give users new ways to interact with your product by building engaging voice and text-based conversational interfaces, such as voice apps and chatbots, powered by AI. …

ABHISHEK KUMAR

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store