Apps & Environments
Ampt allows you to organize workloads into apps with isolated environments.
Ampt's isolation model lets developers rapidly iterate on applications without needing to share services or worry about resource contention. Whether you're a solo developer or a team collaborating with colleagues, Ampt reduces the development feedback loop and accelerates the path to production without sacrificing standard CI/CD and testing processes.
Ampt allows you to build apps within your organization. Apps are extremely flexible. They can be entire full-stack applications, independent microservices, isolated backends, or a frontend website backed by a global CDN. You decide how to structure your project using as many apps as you want.
The actual code and resources for an app run in isolated environments. Each environment contains its own set of independent resources including separate copies of data and storage. The resources within each environment are identical, so you can ensure that your application will run the same way across all phases of development.
Ampt's isolation model and rapid provisioning technology uses environment "types" to enable incredibly powerful workflows.
Every developer on your team gets their own developer sandbox for every app they work on. Each developer sandbox is your own "personal development workspace" that automatically syncs and deploys changes from your local environment as you code (in under a second). To enable interactive development mode, type
ampt into the CLI within your project directory. This will spin up and connect you to your own environment with isolated resources. Your developer sandbox gets its own public URL that you can use to test and interact with your application. The logs from your sandbox will stream instantly into your terminal, giving you immediate feedback on any changes you make.
When you're ready to show your work to the world, you can deploy your code to a stage. These are permanent, long-running instances like
dev. If you want to publish your code to one of these instances, simply type
deploy my-stage-name into your Ampt CLI and your app will be published to
If you want to get feedback on your application but aren't ready to publish it to one of the permanent stages above, you can create a preview environment instead. Type
share into the Ampt CLI, and Ampt will create a preview that contains your code AND data. Preview environments are just like stages, except that previews will automatically expire when they are no longer being used.
Ampt can create environments in any of the following AWS regions:
Once an environment has been created its region cannot be changed. If you need to move an environment to a different region, you will need to create a new environment in the desired region and delete the old one.
The region for a new environment is determined by your Organization and App region settings, and can be specified directly using the
--region flag when running the Ampt CLI.
The organization region is the default region for all apps within your organization. You can change the organization region on the Organization Settings page of the dashboard.
The app region is the default region for all environments within an app. You can change the app region on the App Settings page of the dashboard.
By default, apps inherit the organization region. If you want to override this behavior, you can set the app region to a different region.