shopify hydrogen build host in GCP or AWS hosting solution

Hi all,

I have create the new shopify hydrogen build.

how i can host GCP or AWS hosting solution ?

any one has hosted with any cloud solution ?

1 Like

Hi ErSanjay,

Our developer docs for deploying to non-Oxygen hosts can be found here, but the process may vary slightly depending on the hosting platform. EG, AWS has some info in this blog post on architecting an ecommerce site.

Hope this helps!

1 Like

@Liam Thanks lot.
I have Shopify basic plan for how I can host the Hydrogen build with Oxygen.

for the Oxygen how many new domains I can connect is there any limitation?

Hi, as a developer for over ten years, usually, if you ask how to host on a big cloud infrastructure provider, you’d be better off avoiding them as they do not give you a hosting solution. Rather they give you an infrastructure on top of which you can build your custom hosting.

That is reasonable when needing a lot of computation and storage. But if you’re building with hydrogen you probably use Shopify as both your backend computation and object storage, and you only need a CDN for distribution.

If that is the case, you can use netlify, vercel, or Cloudflare pages. If you also need a backend, I’d use render.com or railway.app.

If you are required to build on top of a cloud infra provider because of some reason, you’ll need to set up a bunch of things;

  • A compute instance (let’s say ec2)
    • Connect it to a network security group
    • Connect it to an internet gateway
  • A cloudfront for you UI distribution
  • A pipeline script that you manage

So, to conclude, it’s better (cheaper and faster) to use a simple managed service. And if you’re required to use a cloud provider consider contacting an expert or asking help on codementor.io.