r/cloudcomputing • • Mar 20 '21

Container engine on a server or a cloud?

If containers can run on any environment such as a single server or a cloud, do you need to do anything to a container image to allow it to take advantage of cloud computing benefits?

0 Upvotes

7 comments sorted by

2

u/[deleted] Mar 20 '21

Nope. They run on anything anywhere.

1

u/Qacer Mar 20 '21

I see. So they can scale automatically on the cloud, too? There's no need to configure anything else?

2

u/netcent_ Mar 20 '21

In what terms do you mean scale? Like assigning more ram like Java heap space? Usually for scaling you might wanna look into container orchestration like kubernetes or docker swarm.

1

u/Qacer Mar 21 '21

All of that. I see. So the cloud provider will need to support kubernetes for scaling.

1

u/tiagonmna Mar 20 '21

For automatic scaling you'll need an orchestrator

1

u/Qacer Mar 21 '21

Okay. Thanks. That makes sense now. So as long as a cloud provider supports kubernettes then I'll get automatic scaling.

1

u/sheepdog69 Mar 21 '21

Once you've moved to containers, a lot of the benefits you get from the cloud is all the other services you get from the providers. Storage, networking, databases, auto-scaling, etc.