OasisDigital / angular-enterprise-example

Scalable / Large Angular application structure example
MIT License
125 stars 47 forks source link

Deploy demo instance (using Docker) #25

Open bvkimball opened 7 years ago

bvkimball commented 7 years ago

I would love to see some best practices for how to deploy this example, and hopefully be able to address questions similar to the following?

kylecordes commented 7 years ago

This is a good idea, and well-suited for the ideas in this example. About the questions you raised specifically, I don't think it is feasible to show "best practices", because there are wide and the human disagreements on what the best practices are. Deployment preferences seem to be very strongly local from organization to organization. For example you mentioned containers. At some organizations there is a preference for a large number of very small containers, but other organizations the opposite, and there are other organizations which are very successful and avoid containers completely (using something like lightweight virtual machines to reduce the total layering overhead versus containers).

So if I can come up with a way to show things here in this example, I would instead aim to show several alternative approaches rather than try to pick a best practice.

kylecordes commented 6 years ago

Here's what I have in mind. Since this update from last summer above, I've used containers more, and can more fluently demonstrate them. My plan is actually to build the containers a couple of different ways, just to illustrate what is possible.

Path 1: One

Path 2: server, client

Path 3: many

kylecordes commented 6 years ago

Additional thoughts:

Once these are built as containers, deploy them to a public cloud. Perhaps the Google Cloud, which I have already been using in commercial work to deploy containers. This takes really very very little effort, and would result in a running instance that anyone could play with.