Skip to main content
This guide walks you through deploying your first application with Magic Containers.
If you are using a trial account:
  • You will need to add valid payment card details to unlock trial features.
  • Trial accounts are limited to five regions, with up to two instances per region.

Before you begin

If you’re deploying from a private registry, connect your image registry first. Public Docker Hub and GitHub images work without additional setup.

Deploy your application

1

Create a new app

In the bunny.net dashboard, go to Magic Containers and click Add App.
2

Configure deployment settings

Define the name of your app and select the deployment option (Magic deployment, Single region deployment or Advanced deployment), then click Next Step.
3

Add a container

Click Add Container.
Name your container (ensure each container has a unique name within the application).
Select the container registry, image (only linux/amd64 images are supported), and tag.
4

Configure an endpoint

To make your app available on the internet, go to the Endpoints tab and click Add New Endpoint.
Fill in the required information:
  • Name - A unique name for the endpoint
  • Expose via - CDN or Anycast
  • Container port - The port your application listens on inside the container
  • SSL for origin - Whether your container uses SSL (CDN only)
For more information on exposing your app to the internet, see the endpoints guide.
Click Add endpoint, then click Add Container.
5

Review and deploy

Review your settings and click Next Step.
Click Confirm and Create.
You will be navigated to your app’s overview screen. The processing button should turn green, indicating that your app is being deployed.
Your application is now deployed and can be accessed by clicking the endpoint URL:
Use the menu on the right side of the screen to restart, deploy, rename, or delete the app: