Getting your code into the cloud can be a challenge, especially when there is no Dockerfile to help with configuration. With our latest AI project, Release is here to solve this problem once and for all!
While the cloud brought some parity between big companies’ infrastructure and the rest of us, it also created unnecessary complexity. Release was founded to make it easier for companies to virtualize their environments and utilize the cloud to its full potential, all while being as easy as Heroku.
At Release, we tackled the problem of organizing and configuring applications with a combination of software and people, making it easy to transition from code to cloud. Our newest AI project makes it even easier for our customers to get their modern apps, utilizing Kubernetes, Terraform, Helm, Pulumi, and more in the cloud. Without requiring expertise in every cloud and native service involved. You code, and Release makes it run!
How does Release use AI to accomplish this feat? The answer is generative AI + iteration! With GPT-4’s help, Release automatically dockerizes your application and runs it in the cloud!
How does it work?
Here's how it works: Typically, we need some basic configuration from your repository in order to get your application running in AWS and/or GCP. We start with Dockerfiles and Docker Compose files which ultimately are translated into k8s manifests that can run in EKS and/or GKE. Now, with the help of AI, Release is able to generate and test the Docker files for your repository; point Release at your repository and it fills in the missing pieces.
Release goes through an iterative process to generate and test the requisite files. It presents the output to the user so they can make any changes, and then tests the files again. Through this process you end up with requisite artifacts (Dockerfile, docker-compose.yml and .dockerignore) and Release gets your software up and running in the cloud!
The steps are straightforward:
- Associate your repository with Release
- Release will interrogate your repository and generate three files
a. Dockerfile, .dockerignore, and a docker-compose.yml
- Release runs a build and tests your generated files
a. If the build fails, you can see the logs and make changes and try again
- Once the build is working, Release deploys your application into your EKS/GKE cluster
- Now you can instantly create ephemeral, production, and cloud development environments. And even deploy your software into your customer’s VPCs with Release Delivery!
This is just the beginning of our code to cloud dream! We have plenty of things left to do:
- We will continue to optimize our prompts and repository interrogation. We are using Rails applications as a proof of concept, but we will add support for all the major frameworks and improve the file generation through prompt optimization.
- We have an iterative loop for creating a successful build, but it currently requires manual approval to start the next iteration. We believe there is room to let our system and GPT-4 automatically build and apply fixes itself until the build succeeds.
- We are creating a virtual assistant to explain various aspects of our documentation and feature sets. Using AI we will be able to provide even more accessible documentation and examples that are context aware. We will open source this effort so other companies can add the same functionality to their applications.
If you would like to see what’s possible with Release + GPT come by our booth at 2023 RailsConf or take a look at this video. To try our development platform that is as easy as Heroku, but with the power of the largest cloud providers, use the promo code “RailsConf” when you sign up or contact sales for a demo!
Release is the simplest way to spin up even the most complicated environments. We specialize in taking your complicated application and data and making reproducible environments on-demand.
Speed up time to production with Release
Get isolated, full-stack environments to test, stage, debug, and experiment with their code freely.