Invoke AWS Lambda across regions using step functions

Invoke AWS Lambda across regions using step functions

Content Index :

Invoke AWS Lambda across regions using step functions
Tag : amazon-web-services , By : user93312
Date : November 28 2020, 04:01 AM

With these it helps If Step Functions don't support cross-region Lambda's (and it appears they don't) my idea would be to use a 'proxy-lambda' in the same region as the Step Function and within the proxy-lambda invoke the cross-region lambda. It's not ideal, you will have to handle pass-through and you will pay twice for the duration of the lambda (1x proxy 1x actual lambda) but it seems a lot easier than having all the elements in all regions.

No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

AWS Step Functions: Invoke different instances of a specific step?

Tag : amazon-web-services , By : Marie Ramos
Date : March 29 2020, 07:55 AM
this one helps. By "serverless", i hope u meant not starting & terminating instances manually everyday (or periodically).
Option 1: Put the items in AWS SQS, launch an instance, which will process the item one by one and terminate after all items are done. Here adding the items to SQS and launching the instance can be automated, depending on the trigger point of how/where the item list is coming from.

Invoke a AWS Step functions by API Gateway and wait for the execution results

Tag : amazon-web-services , By : Rohii
Date : March 29 2020, 07:55 AM
I hope this helps . I guess that's not possible.
It's async and also there's the API Gateway Timeout

How to actually step by step debug in VSCode AWS Sam Local Lambda Functions

Tag : development , By : cthulhup
Date : March 29 2020, 07:55 AM
will help you I think the issue is that you have not configured source maps.
When you run SAM, the code that actually invokes is dist/lambda-section/ConsumeSQS/index.js, ad even that is required through a wrapper (which is what you see when you stopOnEntry.)
"sourceMapPathOverrides": {
  "file:///lambda-section/ConsumeSQS/*": "${workspaceRoot}/main-dir/app/lambda-section/*"

How do I invoke a step function using AWS Lambda ( Python)

Tag : amazon-web-services , By : Ronnie Carlin
Date : March 29 2020, 07:55 AM
I hope this helps . you can use describe_execution method to fetch the final result of your stepfunction. you have to pass the execution arn as an input to this method.
Find more details here, https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/stepfunctions.html#SFN.Client.describe_execution
import boto3

client = boto3.client('stepfunctions')
executionArn = ''

response = client.describe_execution(

Invoke an AWS lambda across regions

Tag : python , By : WellBeing
Date : March 29 2020, 07:55 AM
With these it helps Thank you everyone for the input. @Michael-sqlbot's comment about the AWS client library defaulting to sending requests to the local region is what helped me find the solution. For Python, the library is boto3. Having read the docs it was not clear how to set the region. It was this blog post that provided the (simple) answer:
cleint = boto3.client('lambda', region_name='us-west-2')
Related Posts Related QUESTIONS :
  • "Authentication required" SmtpException trying to send mail from EC2 instance
  • Athena performance on too many S3 files
  • Requires capability named IAM - ManagedPolicy
  • AWS ECS unable to run more than 10 number of tasks
  • AWS simple serverless architecture recomendation
  • AWS S3 log for DeleteObject?
  • In Powershell, how do I create a PatchOperation that adds AWS IAM authorization to an existing API Gateway Endpoint?
  • AWS RDS:user/redshift is not authorized to perform: rds:DescribeDBInstances
  • What action does iam:PassRole api perform?
  • DynamoDb - How exactly does the throughput limit works?
  • What is "EC2-Other" filter in "Cost Explorer" mean?
  • Applying Terraform On Two Different AWS Accounts In the Same Plan
  • How to setup a Subdomain of an existing domain in AWS?
  • Service discovery ecs aws
  • How to get the idToken for a user without the user's password? AWS-Cognito
  • AWS : Classic Load Balancer www.example.com not redirecting to https://www.example.com
  • Using AWS API in order to invoke Lambda functions Asynchronously
  • Application Load Balancers vs API Gateway
  • AWS CloudFormation custom resources not working
  • Import current state of my cloud AWS account with terraform
  • Dynamo DB: Difference between creating table with and without '--endpoint-url'
  • AWS Glue Job getting Access Denied when writing to S3
  • AWS Lambda - Is it possible to restrict an IAM role to create functions with a particular prefix?
  • how to write a IAM policy to give full s3 access but one directory
  • Trigger Alexa Skill From AWS Lambda
  • How long does a boto3 session persist? In my service, I'm looking to get instance from multiple regions and thinking of
  • AWS site-to-site VPN high availability
  • S3 notification creates multiple events
  • AccessDenied on AWS Athena
  • Not able to connect to AWS documentDb from Lambda
  • AWS s3 sync to upload if file does not exist in target
  • Is there a pseudocolumn in Hive/Presto to get the "last modified" timestamp of a given file?
  • Can AWS CloudWatch triggers a lambda function when SQS receives new message?
  • Can't assign list value to json policy in Terraform
  • Do I need to pass AWS AccessKey and AccessSecret while running AWS batch?
  • AWS Textract StartDocumentAnalysis function not publishing a message to the SNS Topic
  • Modify AWS AMI periodically
  • Can't export a EC2 AMI to another account because the AWS Marketplace OS is obsolete
  • User Friendly Unique Identifier For DynamoDB
  • Trying to automatically register my EC2 instances in Route 53
  • How to run Parallel builds with AWS Codebuild?
  • Javascript - Cannot initialize a AWS Textract object with AWS-SDK
  • Avoid Terraform module to create duplicate resources?
  • AWS ECS Fargate Container Healthcheck command
  • How can I solve a problem with tls: internal error in kubernetes
  • S3 Batch Operations - "Reading the manifest is forbidden: Access Denied"
  • Gitlab runner unable to run aws commands
  • Specify version for yum in cloud formation template
  • What is the correct way to reference properties in Cloudformation?
  • Terraform + Route53 - manage existing record
  • Lambda returning Http 200 on timeout to API Gateway
  • Temporarily Stop/Deactivate ECS Fargate cluster or service
  • Unmarshal AWS IAM Document But Conditional string or []string in Doc
  • How to prevent spamming of AWS cloud front?
  • AWS Quicksight - How to deactivate sorting or sort data by month name
  • Running AWS Glue jobs in parallel
  • Alternative to AWS Lambda + NAT gateway
  • Trying to connect to Sybase and Azure SQL server using python with TLS enabled connections
  • AWS: add second internal load balancer to elastic beanstalk in terraform
  • How to architect serverless transformation of files
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com