Wednesday 28 March 2018

AWS Tutorial Terminology page 2

AWS Tutorial Terminology page 2

Question: What Is AWS Media Services?
AWS Media Services are a family of fully-managed services that make it easy to build reliable, broadcast-quality video workflows in the Cloud.


Question: What Is Amazon Simple Notification Service(SNS)?
Amazon Simple Notification Service is a notification service provided by AWS.
It provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users.
It can send notification for below
  1. Mobile Push Notifications
  2. SMS
  3. Email
  4. Http/Https
  5. SQS
  6. Lambda functions



Question: What Is Amazon Simple Queue Service (SQS)?
Amazon Simple Queue Service message queuing service that makes it easy to decouple and scale microservices, distributed systems, and serverless applications.
With SQS you can send, store, and receive messages between software components without losing messages to be always available.


Question: What Is Amazon SWF?
Amazon SWF helps developers build, run, and scale background jobs that have parallel or sequential steps.


Question: What is CloudFormation?
AWS CloudFormation provides a common language to describe and provision all the infrastructure resources in your cloud environment.
It allows you to use a simple text file to model and provision, in an automated and secure manner, all the resources needed for your applications across all regions.


Question: What are difference between cloudtrail and cloudwatch?
CloudTrail:
  1. It helps to visibility into your user and resource activity by recording AWS API calls.
  2. Used to log the API calls across your AWS infrastructure.
  3. it keeps the history of API calls of your account, AWS Management console, AWS SDKs, command line tools, and every other AWS services etc.

CloudWatch:
  1. it monitoring service for AWS cloud resources and the applications you run on AWS
  2. Collect and track metrics.
  3. System-wide visibility into resource utilization, application performance, and operational health.



Question: What is Sagemaker?
We use Sagemaker to Build, train, and deploy machine learning models & algorithms at scale.


Question: What is Amazon athena?
Amazon Athena is a serverless, interactive query service that makes it easy to analyze big data in S3 using standard SQL.


Question: What is System manager?
AWS Systems Manager gives you visibility and control of your infrastructure on AWS.


Question: What is Amazon EMR?
Amazon EMR provides a managed Hadoop framework that makes it easy, fast, and cost-effective to process vast amounts of data across dynamically scalable Amazon EC2 instances.


Question: What is Amazon CloudSearch?
Amazon CloudSearch is a fully-managed search service in the AWS Cloud that lets you easily integrate fast and highly scalable search functionality into your apps.


Question: What is Amazon Kinesis?
Amazon Kinesis Data Streams enables you to build custom applications that process or analyze streaming data for specialized needs.


Question: What is Amazon QuickSight?
Amazon QuickSight is a fast, cloud-powered business analytics service that makes it easy to build visualizations, perform ad-hoc analysis, and quickly get business insights from your data


Question: What does an AWS Region consist of?
An independent collection of AWS computing resources in a defined geography.


Question: What is Elastic Map Reduce?
Amazon EMR processes big data across a Hadoop cluster of virtual servers on Amazon Elastic Compute Cloud (EC2) and Amazon Simple Storage Service (S3).


Question: How to Install AWS command line in Winows
  1. Download the installer from https://aws.amazon.com/cli/
  2. After download, install the software in windows.
  3. Now, Go to windows command line.
  4. In command prompt type
     aws configure
     
    It will ask AWS access key, and Secret key.
  5. for Region Name and Default format just enter key.



Question: How to configure Aws in console?
aws configure

Question: How to get list configured aws account?
aws configure list



Question: How to list name of all the bucket?
aws s3 ls



Question: How to list all the files in S3 Bucket?
aws s3 ls s3://mybucket



Question: How to list all the files recursively in S3 Bucket?
aws s3 ls s3://mybucket --recursive


v Question: How to Rename a file?
aws s3 mv s3://mybucket/filename.png  s3://mybucket/newname.png 



Question: What is EBS?
Full form of EBS is Amazon Elastic Block Store.
It provides persistent block storage volumes for use with Amazon EC2 instances in the AWS Cloud.


Question: What is EFS?
Full form of EBS is Amazon Elastic File System .
It provides provides simple, scalable file storage for use with Amazon EC2 instances.
EFS offers a simple interface that allows you to create and configure file systems quickly and easily.
It growing and shrinking automatically as you add and remove files. You can use this in shared.


Question: AWS command to Describe the EC2 instances?
aws ec2 describe-instances



Question: AWS command to Describe the Start EC2 instances?
aws ec2 start-instances --instance-ids i-1348636c



Question: AWS command to sync the myfolder with S3 bucket in recursive?
aws s3 cp myfolder s3://mybucket/myfolder --recursive

It will move local files to S3 bucket(if does not exist in bucket)


Question: AWS command to sync the myfolder with S3 bucket in recursive but exclude the temp file?
aws s3 cp myfolder s3://mybucket/myfolder --recursive

It will move local files to S3 bucket(if does not exist in bucket)

Monday 19 March 2018

AWS Tutorial Terminology page 1

AWS Tutorial Terminology page 1

Question: what is lightsail in AWS?
Lightsail is designed to be the easiest way to launch and manage a virtual private server(VPS) with AWS.
With Amazon Lightsail, you can deploy a VPS with just a few clicks using preconfigured templates for your favorite Linux distribution application.


Question: What is Amazon Elastic Container Service?
Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster.

Amazon ECS lets you launch and stop container-based applications with simple API calls.


Question: What are Features of Amazon ECS?
  1. Cost-efficient
  2. Improved Compatibility
  3. More Secure



Question: What is Lambda?
AWS Lambda is a compute service that lets you run code without managing servers.
AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second.


Question: What is Elastic beanstack?
AWS Elastic Beanstalk makes it even easier for developers to quickly deploy and manage applications in the AWS Cloud.


Question: What is Amazon CloudWatch?
Amazon CloudWatch is a monitoring service for cloud resources and the applications.


Question: What is Amazon CloudTrail?
AWS CloudTrail is a web service that records AWS API calls for your account and delivers log files to you.


Question: What is Amazon Autoscaling?
An AWS service that can launch Amazon EC2 instances automatically as per traffic and stop the EC2 instances when traffic decrease.


Question: What is AWS CloudFormation?
AWS CloudFormation is a service that helps you model and set up your AWS resources so that you can spend less time managing resources and more time focusing on your applications.


Question: What is Amazon OpsWorks?
AWS OpsWorks is a configuration management service that helps you configure and operate applications in a cloud.


Question: What is AWS Service Catalog?
AWS Service Catalog allows organizations to create and manage catalogs of IT services that are approved for use on AWS.


Question: What is AWS Trusted Advisor?
It is Web Service which monitor your account and gives suggestions regarding below:

1) Security
2) Cost Optimization
3) Performance
4) Fault Tolerance
5) Service Limits



Question: What is AWS Managed Service Provider?
AWS Managed Service Provider (MSP) Partners are skilled at cloud infrastructure/application migration, and deliver value to customers by offering proactive monitoring, automation, and management.


Question: What is AWS EFS?
Amazon EFS provides simple, scalable file storage for use with Amazon EC2 instances in the AWS Cloud.
Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files.


Question: What is Amazon Glacier?
Amazon Glacier is an online file storage web service that provides storage for data archiving and backup. this is very-ver cheap as compare to S3 and EFS but it is not available everytime.
When you request for data in Amazon Glacier, data will available after 3-4 hours.


Question: What is Storage Gateway?
AWS Storage Gateway is a hybrid storage service that enables your on-premises applications to seamlessly use AWS cloud storage.
You can use for archiving and backup, recovery, cloud bursting, storage tiering, and migration.




Question: What is Elastic transcoder?
Amazon Elastic Transcoder lets you convert media files that stored in S3 into media files in the formats required by client devices.
For example
You have upload the audio file in AWS S3, you can play the audio in all the application (IOS/Android).


Question: What is Amazon Kinesis Video Streams?
Amazon Kinesis Video Streams makes it easy to securely stream video from connected devices to AWS for analytics, machine learning and other processing.


Question: What are Benefits of Kinesis Video Streams?
  1. Stream video from millions of edge devices
  2. Easily build vision-enabled apps
  3. Secure
  4. Durable, Searchable storage
  5. No infrastructure to manage
  6. Build both real-time and batch applications



Question: What is ElastiCache?
ElastiCache is a web service that makes it easy to set up, manage, and scale a distributed in-memory data store or cache environment in the cloud.


Question: What is AWS MFA?
Full form of MFA is Multi-Factor Authentication.
MFA adds an extra layer of protection on top of your username and password in Login.




Question: What Is IAM? - AWS Identity and Access Management?
Full form of IAM is AWS Identity and Access management.
IAM would have following component
  1. IAM Groups: An IAM group is a collection of IAM users.
  2. IAM Users: A user which is going to use access the credentials.
  3. IAM Roles: An IAM role is very similar to a user but does not have credentials.An IAM user can assume a role to temporarily take on different permissions for a specific task.
  4. Temporary Credentials: Temporary credentials are primarily used with IAM roles. User can request temporary credentials that have a more restricted set of permissions than your standard IAM user.



Question: What are IAM roles?
IAM roles are a secure way to grant permissions to entities that you trust.


Question: Question: What is ARN?
An Amazon Resource Name (ARN) is a file naming convention used to identify a particular resource in the Amazon Web Services (AWS).
ARNs, which are specific to AWS, help an administrator track and use AWS items and policies across AWS products and API calls.


Question: Question: Difference between Scaling up and Scaling out?
Scaling up is when you change the instance types within your Auto Scaling Group to a higher type (for example: changing an instance from a m4.large to a m4.xlarge), scaling down is to do the reverse.
Scaling out is when you add more instances to your Auto Scaling Group and scaling in is when you reduce the number of instances in your Auto Scaling Group.


Question: Question: Difference between SNS and SQS?
Both are Messaging Services in AWS.
SNS is push type notification whereas SQS is Pull type notification.


Question: Question: What is Mounting?
Mounting is the act of associating a storage device to a particular location.


Question: How to get the URL of meta data?
http://169.254.169.254/latest/meta-data/


Question: What is Load balancing?
Load balancing distributes incoming application traffic and scales resources to meet traffic demands.


Question: How does Load balancing works?
The load balancer serves as a single point(e.g www.example.com) for clients, which increases the availability of your application.
You can add and remove instances (application server) from your load balancer as your needs change, without disrupting the overall flow of requests.
Question: From where we can Accessing Elastic Load Balancing?
  1. AWS Management Console
  2. AWS Command Line Interface (AWS CLI)
  3. AWS SDKs
  4. Query API



Question: What are different type of Load balancer?
  1. Application Load Balancers
  2. Network Load Balancers
  3. Classic Load Balancers.



Question: What is Application Load Balancers?
We use Application Load Balancer for your web applications with HTTP and HTTPS traffic.
Operating at the request level, Application Load Balancers provide advanced routing, TLS termination and visibility features targeted at application architectures, including microservices and containers.


Question: What is Network Load Balancer?
We use Network Load Balancer for ultra-high performance and static IP addresses for your application.
Operating at the connection level, Network Load Balancers are capable of handling millions of requests per second while maintaining ultra-low latencies.


Question: What is Classic Load Balancer?
We use Classic Load Balancer for existing application running in the EC2-Classic network.