Hello all 🙌🏻
This article is about my #DepZ[WIP]
DepZ is an open source platform for hosting static websites.
While the product is in development, most of the organisations purchase 3 to 4 instances. They usually maintain Dev, Staging, Test, PreProd, Prod. For each build, they need a specific instance (mostly an EC2 t3.nano instance), it costs about $15 per instance.
We can achieve this with some platform like Netlify, but most of the people get this question "Why do we need to share our entire source code?"
So there is a need for deployment which is cost-efficient, secure and not to share source code.
As we are high-level apathetic individuals, We never like to build our website and copy the build file to a specific instance. So there is a need for continuous integration.
There are many ways to deploy static sites:
2. S3 Bucket
4. Google cloud
For continuous deployment :
. 1. Bitbucket Pipelines
2. Amazon Pipelines
DepZ integrates Bitbucket with Amazon's S3.
Login to Bitbucket Account
Once you log in, It’ll display all the repo in that bitbucket account.
Select a repo which you want to deploy
Once the deployment is done, a URL will be generated.
Once the site is live, We need to pull the code from BitBucket repo because continuous deployment is handled via pipelines.
/*AWS region selection, Pipelines are #WIP./
1. Setup the Bitbucket OAuth.
2. Update the secret key in the source code.
3. Store the AWS key and AWS secret in the BitBucket env variable.
4. Deploy the site 😈
- Git Provider
- GitHub Pages
- Google cloud
- Amazon Code pipelines
- Custom Domains.
- Amazon Certificate Manager ( Using Google Puppeteer )
We can also connect on Twitter @ibalajisankar