-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deploy the code in Azure Web App #80
Comments
Honestly I don’t know, never used azure. |
Sure thanks, if you can share the steps for the same it would be really helpful. Awaiting your response.
…-------- Original message --------
From: Sam Quinn <[email protected]>
Date: 26/08/2020 2:56 am (GMT+05:30)
To: santiq/bulletproof-nodejs <[email protected]>
Cc: Ashwin K <[email protected]>, Author <[email protected]>
Subject: Re: [santiq/bulletproof-nodejs] How to deploy the code in Azure Web App (#80)
Honestly I don’t know, never used azure.
But I can provide instructions for aws elastic beanstalk, aws ec2, heroku, now.sh, or digital ocean.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#80 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJFHKKKREAMH2FREAY77EPDSCQT6ZANCNFSM4QLDJOIA>.
|
Hey, Sorry I didn't see the notification. So let's start with the most simple one, Heroku which is what I'd recommend if you are hosting an app with little load, ideally when you are starting out. Just keep it simple and don't waste your time with hosting node.js apps since moving from Heroku to AWS is fairly simple and straightforward with the right instructions. Basically you have to create a
But also, since we are using typescript, we need first a step that transpiles it to javascript "build": "tsc && nuxt build",
"heroku-postbuild": "npm run build", Now that we have the codebase ready for deployments to Heroku, the next would be to create a Heroku account and a Heroku app. You can look that up in google. But what's important here is to understand how Heroku works, they basically expose a Git server. So you add a new "remote" for your codebase and push your changes there.
Then to deploy changes
For now.sh the process is almost identical, they are like a cheaper alternative to Heroku and use Procfile as well. |
As for AWS EC2 and Digital Ocean When you create an instance in EC2 you are purchasing a complete O.S, and you have to take care of it, that means setup log rotation, install Nginx, setup port forwarding, and so on. To deploy something there, you can SSH into the machine IP (look for that in AWS EC2 console) and clone your repo, install dependencies, and spin up the server. But this is the reason I prefer to use AWS Elastic Beanstalk EB is a "High Level" service that glues together 5-6 different AWS services. With a few clicks, you can have your app running in EC2 with multiple instances to reach High Availability, different types of load balancers and automatic scaling (through EC2 Auto Scaling Groups) and with free SSL certificates (AWS Certificate Manager) and your own domain (AWS Route 53), lastly, Cloud Watch is also added so you can see logs of your instances without login into them It may seem like I'm promoting AWS but is not, I hate them as much as I love them, and I only recommend them when you are dealing with a production environment. |
please help me out with deployment of the code in Azure Web App.
The text was updated successfully, but these errors were encountered: