Zum Inhalt springen

Deploy your first application

Zuletzt aktualisiert am

This tutorial deploys a public sample image to SCA via the STACKIT Portal. When you finish, the application answers on its own HTTPS address.

  • You have a STACKIT project.
  • You have the sca.admin or sca.editor role in that project.
  • You have a container image the platform can pull. This tutorial uses the public image nginxinc/nginx-unprivileged:stable-alpine, which listens on port 8080.
  1. In the STACKIT Portal, open Container Applications and click Create Application.

    Screenshot create application main page

  2. Enter a name for the application. The name must be unique within the project.

    Keep the preselected default environment. The application inherits secrets, registries, and other configuration from its environment.

    Screenshot name application input field

  3. In Container Setup, click Add container.

    Screenshot set up container

  4. Enter the image name in the input field:

    nginxinc/nginx-unprivileged:stable-alpine

    Screenshot enter image name

  5. Save the container configuration.

  6. In Network, turn on Public Ingress and set Port to 8080.

    Screenshot enable public access

  7. Click Order fee-based.

The application shows Processing for a few seconds, then Running.

Screenshot deployed application

  1. Open the application from the list.

    Screenshot list of applications

  2. Click on the generated URL. It has the form https://<application-id>.sca.eu01.onstackit.cloud.

  3. The application opens over HTTPS with a valid TLS certificate. To check it from a terminal instead:

    Terminal window
    curl -I https://<application-id>.sca.eu01.onstackit.cloud

    A 200 OK response means the application is serving requests.

If you do not need the application and its configuration anymore, delete it.

  1. In the list of applications, open the ⋮ menu of the application. Screenshot delete application

  2. Click Delete and confirm with the name of the application to delete.