Serverless Web Application CloudFront, S3, API Gateway, Lambda & DynamoDB | CORS concept API Gateway
Ғылым және технология
Hello Dear All, my name is Amit. I am here to give some tips and tricks about cloud learning and some day to day problem solving methods. I'm an professional cloud engineer, working in this fields for 12+ years.
If you have any queries regarding AWS issues... feel free to reach out to me.
In this video, I have discussed Serverless Web Application hosting using AWS services.
Amazon Web Services (AWS) provides a number of services that can be used to host a serverless web application. Here are the steps to follow:
1. Choose a serverless framework: There are several serverless frameworks available for building web applications. Some popular ones are AWS SAM, Serverless Framework, and ClaudiaJS. These frameworks allow you to write serverless code using your favorite programming language and deploy it to AWS.
2. Use AWS Lambda for the backend: AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources. You can use Lambda to build the backend of your web application.
3. Use AWS API Gateway for the frontend: AWS API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. You can use API Gateway to create RESTful APIs that can be used to access your Lambda functions.
4. Use AWS S3 for static content: AWS S3 is a scalable object storage service that can be used to store and serve static content such as images, videos, and HTML files.
5. Use AWS CloudFront for content delivery: AWS CloudFront is a global content delivery network (CDN) that can be used to deliver your web application content to users around the world with low latency and high transfer speeds.
6. Use AWS Route 53 for domain name management: AWS Route 53 is a highly available and scalable cloud domain name system (DNS) web service that can be used to route users to your web application.
By following these steps, you can easily build and host your serverless web application in AWS.
Part 1: • Serverless Web Applica...
Part 2: • Serverless Web Applica...
Playlist: • Serverless Learning Pl...
CodeBase: github.com/nspacer/serverless...
My email Id : beyondthecloud2022@gmail.com
facebook: / beyondthecloud2022
Linkedin: / beyondthecloud2023
#aws #amazonwebservices #software #softwareengineer #developers #clouds #cloudengineer #cloudcomputing #systemdesign #database #programming #fullstack #cloudsecurity #security #fullstacksoftwareengineering #itindustry #engineering #engineer #beyondthecloud #AWSSystemsmanager #AWSdocuments #AWSautomation #s3 #S3sucurity #yamlfile #jsontemplate #python #pythonprogramming #awsec2 #awsec2security #ec2security #instancemetadata #ec2 #awslambda #awsconfig #cloudwatch #dynamodb #awsiam #boto3 #cdk #infrastructure #insfrastructureascode #python #sqs #serverless #sam #awssam #docker #dockercontainer #java #cloudfront #contentdeliverynetwork #awscloudfront
@BeABetterDev @AWSTutorialsOnline @cluut @TinyTechnicalTutorials @BlockExplorerMedia @nickchapsas @itversity @TechwithLucy @Intellipaat @knowledgeindia @SimplilearnOfficial @TechnicalGuftgu @MachineLearningHub @edurekaIN @in28minutes @CodeWithHarry @QuickSupport @byluckysir
Пікірлер: 54
Please provide your valuable feedback in the comment section. Please like share and subscribe for more upcoming content
@Ankur_Singh_AWS
10 ай бұрын
Thanks for creating this project, every step very well explained I tried to follow along and after completing I am getting CORS error, although I have enabled CORS in API gateway methods
Thanks for the three parts.. very informative.
@beyondthecloud
Жыл бұрын
Glad it was helpful!
Thank you Amit for sharing valuable content with us.
@beyondthecloud
10 ай бұрын
So nice of you
Thank You soo much sir for the video. I request to you please do more videos on the serverless as well as in the two, three tier web application
@beyondthecloud
10 ай бұрын
Sure I will
well explained
@beyondthecloud
Жыл бұрын
Glad you liked it
Thank you
@beyondthecloud
Жыл бұрын
You're welcome
This is very helpful content. Thanks a lot! Can you kindly also make a video on API gateway also how can we achieve the same using the SAM?
@beyondthecloud
6 ай бұрын
Will do soon
Great one! Very appreciated. Can also create one can upload the employee photo to S3 as well?
@beyondthecloud
Жыл бұрын
Thanks a lot for your comment. Yes of course you can do that but wondering why you will do it. Its confidential data and not recommended to upload in S3. Rather use an encrypted DB.
sir i have build this project, thank you
@beyondthecloud
Жыл бұрын
Great!! Congratulations!!! You have done a great job!!
Can you please help? after execution, while saving profile -getting "error"...not storing data to dynamoDB
@beyondthecloud
4 ай бұрын
send me the code and files
Sir i got error msg sir because of lambda function in existing role permission denied sir . Can please tell about how to give the permission of existing role in lambda function.
@beyondthecloud
10 ай бұрын
You can go the lambda role or search the role in IAM and attach the permissions there
Helpful containt, can you please share the git repo to get the html, script & lambda code, so that will able to do the hands-on by our own.
@beyondthecloud
4 ай бұрын
check description
wonderful explanation, i learned a lot on these 3 series. Need to pick your brain though as the very last step wont work for me. After updating the API endpoint in the scripts, uploading it to s3, now back to the cloudfont served html page, on clicking "view all the employee profiles", I get a response of "error". I will highly appreciate your guidance. also, I have another ask - can you create a 4th video adding cognito in front please authenticating the user(s) :)
@beyondthecloud
8 ай бұрын
Can you send me all the files and the setting in mail that is mentioned in description? I will look into it
@user-gv9xq4np1q
8 ай бұрын
@@beyondthecloud, hi Amit, I will send you the files and so as my config/screenshots. You are a Legend, Thank You!!!
@user-gv9xq4np1q
8 ай бұрын
Hi Amit, I recreated the Cloudfront distribution and it started to work. :)
@beyondthecloud
8 ай бұрын
Great!!
I am getting error while getting and posting data into Dynamodb. My lambda is working well. At final stage i am getting error.
@beyondthecloud
8 ай бұрын
Send me the error and all your files
@relaxmindspace3174
6 ай бұрын
i am also getting the error at the time of inserting or calling for the data on website. Did u get any resolution for it
@amoyardever2815
5 ай бұрын
Same here...did you solve the problem?
Hello... Sir... I am trying to host my own website... (Food ordering application) can u tell me how to write the lambda function for my own website...??
@beyondthecloud
3 ай бұрын
Hello, what do you want to achieve with this Lambda function?
@nisitasubudhi8252
3 ай бұрын
I want to manage who are ordering from my website.. like there details... When they order any food through my website ..@@beyondthecloud
sir I cannot view or insert the data on page I did every step you shown
@beyondthecloud
3 ай бұрын
Send me the code
What about security and authentication
@beyondthecloud
3 ай бұрын
You can do authentication with Lambda @Edge. I want to make a video for it in near future
After trying everything, I'm getting an error, and I don't know what the problem is because I followed step by step, but it's not working.
@beyondthecloud
2 ай бұрын
What is the error?
sir i had tried but finding so much errors after taking lambda for insert employee it showing so much error
@beyondthecloud
10 ай бұрын
What is the error that you are getting?
@FaizAnsari-kq1hr
10 ай бұрын
@@beyondthecloud how can I share you screenshot
@beyondthecloud
10 ай бұрын
Send me in mail
@FaizAnsari-kq1hr
10 ай бұрын
@@beyondthecloud okay
@ansarshaik4113
4 ай бұрын
@@FaizAnsari-kq1hr bro me too getting same error can you please explain how you resolved it.
sir phele ky banana hai ye to bta oo sub kuch phele swe bna ke rakha hai, pura confusion ker ke rakh diya
@beyondthecloud
Жыл бұрын
Hello, KIndly check the description of this video. The whole playlist is given and you should watch it one by one. Here is the link as well kzread.info/head/PL1uOp2xDOxtpPS3s96s0OWIpKlgd7emEM
getting errors of CORS
@beyondthecloud
Жыл бұрын
Enable the cors in API, you will not receive it anymore
@rashanjones6192
11 ай бұрын
@beyondthecloud Nevermind..figured it out. Great series!!
@Ankur_Singh_AWS
10 ай бұрын
Could you please confirm how you figured it out as I am also getting CORS error @@rashanjones6192