Reputation: 2421
I am now developing a front-end application using angular 2. This id for communicating with another micro services deploying in cloud. In this Angular 2 application I am not using database interaction.
I need to deploy this Angular 2 application in elastic beanstalk (AWS PaaS). What are the important procedure that I need to follow for deploying into cloud? I am new to angular framework and cloud platforms. How can I deploy my Angular 2 application into AWS Elastic Beanstalk?
Upvotes: 2
Views: 3125
Reputation: 47
I think it's got something to do with the aws-sdk imported requiring a node runtime environment to execute properly. So the EBS machine and EC2 instances work for that specific use case as hosting a SPA via s3 does not have a nodejs runtime environment.
Upvotes: 1
Reputation: 5711
Do you need exactly to elastic beanstalk or you need just deploy to AWS using any suggested solutions?
If second - simplest way is to deploy Angular2 to S3 bucket, configured to serve static files:
Upvotes: 7