Serverless Rest API using AWS and Python | Project Setup using AWS SAM (Part-5)

preview_player
Показать описание
In this step by step tutorial, learn how to build a serverless Rest API using AWS and Python.
In the fifth part, learn setup the project for a serverless application using AWS SAM.

------------------------------------------------------------

More awesome topics covered here:

------------------------------------------------------------

#python #aws #serverless
Рекомендации по теме
Комментарии
Автор

Amazing!! Very detailed explanation 👌. I kept on watching all the parts of serverless rest api videos. Each and every video was done excellently. Wonderful team 👏

aniladhharisi
Автор

Nice Tutorial! Found it really helpful!

debarghyamaity
Автор

Clear explanation, perfect video..
Thank you Indian Pythonista..

hendirusfandi
Автор

this is such an amazing video . I wanted to know general things and the capabilities of sam and this helped a lot!

tarvinder
Автор

This video is very informative! Well done 👌

pranabsarkar
Автор

This is a great video, Nikhil. Really appreciate the effort you've put in to create these. Thanks!

Some questions I had:
– Should I check-in the `.aws-sam` or does it makes more sense to keep it in gitignore?

abhishekpokhriyal
Автор

hi sir am very new to sam cli can you let me know if you have a video for post api using python

manasasantpur
Автор

i have the problem saying : ' Stack aws-sam-cli-managed-default is missing Tags and/or Outputs information and therefore not in a healthy state (Current Failing as the stack was likely not created by the AWS SAM CLI
' when i try to deploy
could you maybe explain what went wrong

lazarivic
Автор

Not a fan of dishing out full admin. I was able to deploy this stack using the following IAM policies attached to my programatic user:
- AWSLambdaFullAccess
-
- AWSCloudFormationFullAccess
- IAMFullAccess

Perhaps its still to much or not enough privilege, but still much tighter than full admin. Just need to remember to grant the appropriate policies as you develop and add other AWS components such as S3/SNS/SQS etc.

Thanks for the Vid

AdrianGood
Автор

How can I create only APIs in SAM template because my application required only APIs which will be called by mobile devices

RizwanAli-kibx
Автор

facing issue while building the artifact when i run command sam build, expection: Stack object has no attribute 'Resources'

VikramKumar-obef
Автор

Really great tutorial, Please let me know how and where we can define multiple functions. Is it app.py where have to define all of our functions?

RizwanAli-kibx
Автор

Can you please tell what are the exact permissions required for SAM to function properly?

productprinting
Автор

The video is great however, I ran into a little problem following it towards the end and was getting the message below:

(venv) ➜ student-api git:(master) sam deploy --guided
Configuring SAM deploy

Looking for samconfig.toml : Not found
Setting default arguments for 'sam deploy'

Stack Name [sam-app]: student-api
AWS Region [us-east-1]: us-east-1
#Shows you resources changes to be deployed and require a 'Y' to initiate deploy
Confirm changes before deploy [y/N]: y
#SAM needs permission to be able to create roles to connect to the resources in your template
Allow SAM CLI IAM role creation [Y/n]: y
HelloWorldFunction may not have authorization defined, Is this okay? [y/N]: y
Save arguments to samconfig.toml [Y/n]: y
Looking for resources needed for deployment: Not found.
Creating the required resources...
Error: Failed to create managed resources: An error occurred (SignatureDoesNotMatch) when calling the CreateChangeSet operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
(venv) ➜ student-api git:(master)


I have also tried creating new credentials for the test user and using those key pairs but got the same thing

joeyjohnson
visit shbcf.ru