Questions tagged with AWS Serverless Application Model (SAM)
Content language: English
Select up to 5 tags to filter
Sort by most recent
Browse through the questions and answers listed below or filter and sort to narrow down your results.
I am trying to use AWS API Gateway in my local development but I only found a document which says how to api gateway locally using SAM CLI. But it did not mention anything about how to configure other...
2
answers
0
votes
33
views
asked 3 days agolg...
I have built serverless architecture for wordpress (reference: [https://keita.blog/2019/06/27/serverless-wordpress-on-aws-lambda/]() ) and created custom runtime for wordpress (reference:...
0
answers
0
votes
49
views
asked 4 days agolg...
I have golang lambda functions deployed via aws sam. I followed the guide for compiling for the provided.al2 runtime, yet I am getting the following error:
Error: fork/exec /var/task/bootstrap: exec...
1
answers
0
votes
60
views
asked 9 days agolg...
My requirement is to deploy serverless wordpress and I have came through concept of lambda web adapter which is for response streaming between lambda and web application. For...
1
answers
0
votes
87
views
asked 10 days agolg...
Here is the part of my AWS Lambda (packaged as a container) related to initialization:
```py
import json
import subprocess
import time
def ms_now():
return int(time.time_ns() / 1000000)
class...
0
answers
0
votes
29
views
asked 14 days agolg...
My AWS Lambda measures the time (in milliseconds) of copying two ML models from `/var/task` to `/tmp` and initializing these models during the cold start. Here is the relevant code (i.e. the code the...
1
answers
0
votes
48
views
asked 14 days agolg...
To speed up cold starts of my AWS Lambda function, I tried to include the HuggingFace transformer model that the function uses into the container by writing the following in the Dockerfile:
```
ENV...
2
answers
0
votes
77
views
asked 15 days agolg...
#### Problem
I upgraded my python environment to python3.10 for my cloud9 ec2 instance. Building a serverless lambda function works using SAM and I can run json events via SAM command line. However....
1
answers
0
votes
102
views
asked 18 days agolg...
Hi,
We have developed a data analysis platform the follows AWS Serverless Application model. It consists of a number of lambda functions being controlled through AWS Step function.
We are looking to...
1
answers
0
votes
67
views
asked 20 days agolg...
I was looking to update our ruby based lambda end points to 3.2, however when trying to build the layer to upload via SAM, I expect to find amazon/aws-sam-cli-build-image-ruby3.2, however I'm not...
0
answers
0
votes
36
views
asked 23 days agolg...
Hi everyone,
I setup CORS using SAM a few weeks ago and it was working fine until I today. Now, I keep getting `Access to XMLHttpRequest at 'abc' from origin 'xyz' has been blocked by CORS policy: No...
2
answers
0
votes
77
views
asked 23 days agolg...
I am trying to run the the HelloWorld tutorial at https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html and when I got to the...
1
answers
0
votes
64
views
asked a month agolg...