Table of Contents
We are using:
This is a simple serverless project using AWS services. First create a s3 bucket for deploying our static content like html, css and js files. Create cloud font for redirect website url http to https. We need two API endpoints for POST our data.
Static websites deliver HTML, JavaScript, images, video and other files for need a website visitors. Static websites are very low cost, provide high-levels of reliability, require almost no IT administration, and scale to handle enterprise-level traffic with no additional work.
Configuring a static website on Amazon S3
Route 53 sends automated requests over the internet to a resource, such as a web server, to verify that it's reachable, available, and functional.
Install the serverless CLI via NPM:
npm install -g serverlessRun the command below and follow the prompts:
serverlessTo set them up through the aws-cli install it first then run aws configure to configure the aws-cli and credentials:
aws configureCredentials are stored in INI format in ~/.aws/credentials, which you can edit directly if needed.
GitHub-hosted runners have a tools cache with pre-installed software, which includes Python and PyPy. For more information, see GitHub Actions
serverless deployThis is the simplest deployment usage possible. With this command Serverless will deploy your service to the defined provider in the default stage (dev).
serverless deploy --stage=prod --region=ap-southeast-1With this example we've defined that we want our service to be deployed to the production stage in the region ap-southeast-1.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Saiful Azad - mr.saiful.azad@gmail.com
