Deploy your first container
Let's walk through together on your first deploying !
Prerequisites
- Billing ready account
You have your account set up with billing enabled.
Don't have it yet ? You can achieve that here: Set up guide - Terraform/Open tofu installed
- Basic understanding of Terraform/Open Tofu commands
- Provider installed
You have the provider installed.
Don't have it yet ? You can find it here: Setup provider
Namespace
Before we start you will need a namespace, this is where your container will be living.
Container
Now we can deploy a container, a container is an application which runs in an encapsulated environment. You can specify the amount of resources needed for your container.
This is a data source called nexaa_container_resources
, where you can specify your cpu and memory. By default, the container has no persistent storage,
so all the data which has been saved in your container will be gone after an update.
Persistent storage
Like said before a container doesn't have persistent storage. If you want to store data, we can add a volume to a container on a specific path But first we need to deploy a volume.
After we have deployed our first volume we can mount it on a specific location in the container.
Next Steps
- Explore our marketplace
- Explore the complete documentation for detailed feature guides
- Learn more about hosting OpenSource on Nexaa OpenSource