Guys, fewer months later have I some time working again on Hygieia. Currently I could successfully run Hygieia on local Docker environment. Moreover, I need to move our Hygieia to AWS because the local env will be shut down.
I am here to ask if someone have good practice on run Hygieia on AWS.
Four possible ways come to my mind:
- Option1 - EC2 - Standard
Run a EC2 instance and build Hygieia as same as run on a local sever without Docker
- Option2 - EC2 - Docker
Install Docker in the EC2 instance then build Hygieia and do Docker-compose trick
- Option3 - ECS - Single
Re-build an ALL-IN-ONE Hygieia docker image according to existing dockerfile.
Re-configure CMD and properties and run as one ECS service
- Option4 - ECS - Multiple
Run each ECS service mapping to each Hygieia
As I use CloudFormation to control everything in my AWS, need to define the templates according to the Docker-compose configuration.
Before I would decide to deploy something I would ask myself next questions?
What is my bugged?
How do I consider the environment, prod, dev, etc?
Do I need HA (High Aveability) for my application?
What will be the load of the servers?
When you have the answers to this question you may be able to design the infrastructure you would need.
Here how would go:
Low budget + prod = no HA and you will try to cover the downtime in the best way you can in the given conditions.
good bugged + prod = HA . For HA I would go with a cluster managed with kubernetes.
good bugged + dev = no HA, no point of wasting money!
The need of an infrastructure is not decided by the application but by the bugged and the uptime you need to provide.
@cradules Much appreciate! For now it is just a PoC which to persuade bosses with more budge to live for Prod :D I'll just let it runs first. Thanks again.
@cradules great response much appreciated.
@xpdable Hi!Have u implemented Hygieia HA?I'm now run Hygieia indocker,but I dont know how to deploy Hygieia in HA
@xpdable Hi!Have u implemented Hygieia HA?I'm now run Hygieia indocker,but I dont know how to deploy Hygieia in HA
Just move on to new company, starting push Hygieia from beginning. Good fact is we will deploy this on AWS, but HA is not in scope for now as we build this inside the team. HA might be taken into consideration end of 2019. If you have good practice glad to hear. thx.
Most helpful comment
Before I would decide to deploy something I would ask myself next questions?
What is my bugged?
How do I consider the environment, prod, dev, etc?
Do I need HA (High Aveability) for my application?
What will be the load of the servers?
When you have the answers to this question you may be able to design the infrastructure you would need.
Here how would go:
Low budget + prod = no HA and you will try to cover the downtime in the best way you can in the given conditions.
good bugged + prod = HA . For HA I would go with a cluster managed with kubernetes.
good bugged + dev = no HA, no point of wasting money!
The need of an infrastructure is not decided by the application but by the bugged and the uptime you need to provide.