Projects in Simplifyd represent a logical grouping of closely related applications. All applications in a project are applied the same security policy allowing them to communicate freely with each other. A project can also house environment variables common to all applications in the project. It's important to note that environment variables can also be defined on a per application basis. Projects also require that a region is specified during their creation. A region tells Simplifyd where to deploy all applications within the project. For example, a project specified to be in the
nga-west-1 region would have all its listed applications deployed there.
Simplifyd allows for easy rollback of applications to previous states. This is achieved by storing artifacts of previous builds. A rollback restores an applicaiton to a previous state. A rollback also reverts the environment variables to what they were in that previous state. Rollbacks make it seamless to undo unwanted changes.
Simplifyd supports automatic deployments of applications. It works by detecting changes to your Git repo and automatically deploying your application once you push to Git. It's important to note that everytime an autodeploy happens a new build artifact is created. Autodeploy is enabled by default when you create an app. Autodeploy can be disabled in app settings.
Environment variables allow you to decouple configuration from your application. Simplifyd allows you to specify environmentt variables either at the project level or at the application level. Specifying environment variables at the project level makes them available to all applications within the project. Environment variables are injected both at build time and run time. Making the environment variables at build is particularly usefule when building VueJS apps but can also be useful in other scenarios.
Custom domains are a feature on Simplifyd that allow you specify your own custom URL for your web applications. It's easy to set one up. It requires that you make changes to your DNS settings. You would need to create a CNAME record for your custom domain pointing to an address that would be shown to you at the point you initiate adding a custom domain to your web application deployed on Simplifyd. A CNAME is the preferred way to add a custom domain as it is the most flexible and dynamic. But there are situations where is simply isn't possible especiially when the domain used is root record. In such situations using an A record is permitted and the IP address to point to would be shown during setup.
Simplifyd allows you undeploy or unpublish a running application. You might do this if you are decommisioning or are done with testing an application. This operation removes and destroys, unrecoverably, all resources used by the application including any form of persistent storage. This is an irreversible process and should be well thought out before inittiating. You are only billed when your app is published and running. Unpublished apps do not incur any charges.
How billing works on Simplifyd¶
The following are billable services on Simplifyd: - Deployed apps - Data stores. For example, managed Postgres - Files stored in Simplifyd Blob (S3 compatible object storage)
Billing happens daily. Deductions are made from your wallet on Simplifyd. It's important that you ensure your Simplifyd wallet is adequately funded. Accounts that go into default due to inadequate funding are allowed a grace period of 3 days before all services are deactivated.
Simplifyd vanity URLs¶
Whenever you deploy a web applicaiton on Simplifyd, a vanity URL is created for your web application. This makes it very quick and easy to get going. But in the section above on custom domains, it is possible to add a custom domain instead to add some personalization.
Manual app updates¶
There are situations where it might be preferred to update apps manually instead of automatic deploys. To achieve this, autodeploy must be disabled under app settings.
Datastores in Simplifyd¶
Simplifyd supports fully managed Postgres, Redis and MongoDB deployments. Simplifyd Redis is memory only and doesn't support persisting to disk. This can be a problem if your app requires full disk persistence. Right now, all fully managed data stores can only be accessed privately through your apps and are not available over the internet. Another thing to note is that only apps in the same project as the data store can access the data store. Apps in other projects cannot access the data store.
Runners are a construct in Simplifyd that represent a running app.