This repository provides a Pulumi blueprint written in TypeScript for deploying Appwrite on Hetzner Cloud.
- A Hetzner Cloud account.
- An API token generated from Hetzner Cloud. This allows Pulumi to access and manage your Hetzner Cloud resources.
-
Clone the Repository and Install Dependencies
git clone [YOUR_REPO_LINK] cd [YOUR_REPO_DIRECTORY] npm install
-
Update the Cloud Init Configuration:
- Open
cloudInitConfig.yaml
in an editor. - Replace
[YOUR_APPWRITE_DOCKERCOMPOSE_AND_.ENV_FILE_FROM_GIT_REPO]
on line 20 with the link to your GitHub repository containing the Appwritedocker-compose
file and.env
file.
- Open
-
Configure the Hetzner Cloud Settings:
- In
index.ts
:- Specify your desired Hetzner cloud instance type on line 10.
- Specify the desired region for your Appwrite instance on line 12.
- Visit the Hetzner Cloud website to view all available instance types and regions.
- In
-
Deploy Using Pulumi:
pulumi up
Once deployed, you should have Appwrite running on a Hetzner Cloud instance configured to your preferences.
Feel free to open an issue or submit a pull request if you have suggestions or improvements!