src/content/docs/en/guides/deploy/cloudray.mdx
import { Steps } from '@astrojs/starlight/components';
You can deploy your Astro project using CloudRay, a centralized platform that helps you manage your servers, organize Bash scripts, and automate deployment tasks across virtual machines and cloud servers.
:::note CloudRay itself does not host your site. Instead, it provides automation tools to run deployment scripts on your own infrastructure (e.g., Ubuntu servers) using a connected agent. :::
To get started, you will need:
Deploying with CloudRay typically involves three main steps:
<Steps> 1. Install the [CloudRay Agent](https://cloudray.io/docs/agent) on your server to securely register your machine and enable remote automation.In your CloudRay Dashboard, write a reusable Bash script that clones your Astro repo, installs dependencies, builds your site, and configures a web server. Define any repo-specific values using CloudRay’s variable groups.
Use CloudRay’s Runlog interface to execute your script on your connected server and monitor the deployment in real time.
</Steps>Check out the Astro guide in CloudRay's docs.