0% found this document useful (0 votes)
15 views4 pages

Set 2

Uploaded by

SanjeevSonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Set 2

Uploaded by

SanjeevSonu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

7, 8, 9,12, 13, 14, 16, 17

A listener checks for connection requests from clients, using the protocol and port that you
configure. The rules that you define for a listener determine how the load balancer routes requests
to its registered targets. Each rule consists of a priority, one or more actions, and one or more
conditions.

Amazon Elastic Container Service (Amazon ECS), you can use dynamic port mapping to support
multiple tasks from a single service on the same container instance. Amazon ECS manages updates
to your services by automatically registering and deregistering containers with your target group
using the instance ID and port for each container.

---------------------------\

AWS CloudFormation template is a JSON- or YAML-formatted text file that describes your
AWS infrastructure. Templates include several major sections. The "Resources" section is the
only required section. The optional "Transform" section specifies one or more macros that
AWS CloudFormation uses to process your template.

Presence of Transform section indicates it is a Serverless Application Model (SAM)


template - The AWS::Serverless transform, which is a macro hosted by AWS
CloudFormation, takes an entire template written in the AWS Serverless Application Model
(AWS SAM) syntax and transforms and expands it into a compliant AWS CloudFormation
template. So, the presence of the Transform section indicates, the document is a SAM
template.

------------------------\

VPC Flow Logs - VPC Flow Logs is a feature that enables you to capture information about
the IP traffic going to and from network interfaces in your VPC. Flow log data can be
published to Amazon CloudWatch Logs or Amazon S3. After you've created a flow log, you
can retrieve and view its data in the chosen destination.

You can create a flow log for a VPC, a subnet, or a network interface. If you create a flow log
for a subnet or VPC, each network interface in that subnet or VPC is monitored.
------------------\

Q9. A company wants to automate its order fulfillment and inventory tracking workflow.
Starting from order creation to updating inventory to shipment, the entire process has to be
tracked, managed and updated automatically.

Keyword tracked, updated automatically – Step function

A Task state ("Type": "Task") represents a single unit of work performed by a state machine.

All work in your state machine is done by tasks. A task performs work by using an activity or
an AWS Lambda function, or by passing parameters to the API actions of other services.

"HelloWorld": {
"Type": "Task",
"Resource": "arn:aws:lambda:us-east-
1:123456789012:function:HelloFunction",
"Next": "AfterHelloWorldState",
"Comment": "Run the HelloWorld Lambda function"
}

Resource field is a required parameter for Task state.

//Wait

"wait_until" : {
"Type": "Wait",
"Timestamp": "2016-03-14T01:59:00Z",
"Next": "NextState"
}

 A Wait state ("Type": "Wait") delays the state machine from continuing for a
specified time.

"No-op": {
"Type": "Task",
"Result": {
"x-datum": 0.381018,
"y-datum": 622.2269926397355
},
"ResultPath": "$.coords",
"Next": "End"
}

 Resource field is a required parameter for Task state. This definition is not of a Task
but of type Pass.

"FailState": {
"Type": "Fail",
"Cause": "Invalid response.",
"Error": "ErrorA"
}
 A Fail state ("Type": "Fail") stops the execution of the state machine and marks it as a
failure unless it is caught by a Catch block. Because Fail states always exit the state
machine, they have no Next field and don't require an End field.

-------------------\

The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. So, for a
200 GiB volume size, max IOPS possible is 200*50 = 10000 IOPS.

--------------------\
You must create the Lambda function from the same account as the container registry
in Amazon ECR

You can test the containers locally using the Lambda Runtime Interface Emulator.

You can deploy Lambda function as container image with the maximum size of 10GB.

-----------------------------\
--------------------------------\

Lambda Authorizer - Lambda authorizers are Lambda functions that control access to
REST API methods using bearer token authentication—as well as information described by
headers, paths, query strings, stage variables, or context variables request parameters.
Lambda authorizers are used to control who can invoke REST API methods.

AWS Security Token Service (STS) - AWS Security Token Service (AWS STS) is a web
service that enables you to request temporary, limited-privilege credentials for AWS Identity
and Access Management (IAM) users or for users that you authenticate (federated users).
However, it is not supported by API Gateway.

------------------------------------\

You might also like