infra.new docs
infra.new is a chat application where users can inputs prompts to help them generate dev ops configuration to deploying anything to the cloud. infra.new has been specifically optomized for generating Terraform, GitHub actions, and docker files. However, we are working on adding support for more and more. If there is a specific feature you would like to see added please reach out to us in discord.
How do chats work?
Whenever you start a chat infra.new will fetch the latest documentation for what you are trying to generate. This may be documentation related to relevant terraform modules or documentation for GitHub actions for deploying your application.
Once relevant documentation has been fetch infra.new will use the documentation to generate high quality dev ops configuration for whatever you need.
After your configuration has been generated you can view the estimated cost of your infrastructure by clicking the Cost
button at the top of the code editor. To read more about how we calculate costs please see the cost analysis section of the docs.
Cost Analysis
Costs are computed by analyzing your generated infastructure code and calculating the cost using the lastest pricing data retrieved from the cloud providers. Prices are kept as up to date as possible and are generally updated once a week to account for any changes from cloud providers. Currently pricing data is only available for AWS and GCP and not all resources are supported. Below is a table indicating what resources you can expect to see pricing data for.
Service | Status |
---|---|
API Gateway | Fully Supported |
Code Build | Fully Supported |
DynamoDB | Support Comming Soon |
EC2 | Partially Supported Most EC2 use cases are supported, the main thing missing is spot instance cost. |
ECR | Fully Supported |
ECS | Partially Supported Currently only ECS Fargate Services are supported. Spot instances are also not supported. |
EKS | Partially Supported EKS costs are full supported, however node groups do not support spot instances. |
Elasticache | Fully Supported |
IP Address | Fully Supported |
Kinesis | Support Comming Soon |
Lambda | Fully Supported |
Load Balancers | Fully Supported |
RDS | Partially Supported Individual database instances are supported but RDS clusters are not currently supported. |
Redshift | Support Comming Soon |
Route 53 | Support Comming Soon |
S3 | Fully Supported |
GitHub
If you are a pro member you can bring attach any GitHub repo to begin chatting with your existing infrastructure setup. When you import a repo we will autmoatically index it to provide instance cost analysis and you can suggest any changes you would like made to your infrastructure.
Setup
Once you have upgraded to a pro account you will see a button for attaching a GitHub repo to your chat. When you click this you will see repos you have access to that have already installed the infra.new GitHub app. To import a new repo you can click the Connect Repo
button which will take you through the flow of attaching a repo to your chat.
Currently the GitHub app will request the following permissions on your GitHub repository:
- Read and write access to repository's content
- Read and write access to pull requests
- Read and write access to GitHub action workflow files
These above permissions allow infra.new to bring in the contents of your repo as well as export any changes made to your infrastructure back to your repo as pull requests.
Using
When you create a chat with the repo we will immediately begin indexing the repo, you can then ask us to make any changes to your infrastructure. Once you are ready you can click the Export to GitHub
button to have your code exported to a pull request. Each chat will is automatically assigned a unique branch, so you can always click export again to have additional changes exported.
It is recommended that you have one chat per change you are working in the same way you would use a branch in git. Once you have finished a change you can merge the pull request and start a new chat.
Billing
All billing is handled via Stripe. Pricing info can be found at: https://infra.new/pricing
Upcoming Features
We are constantly working on improving infra.new. Right now we are currently focused on improving our model to improve the quality of code generation. Some other items on our road map include:
- Pricing support for Azure, Cloudflare, and other cloud providers
- Support for additional Infrastructure as Code tools such as Pulumi and CDK
- Support for additional deployment tools such as Azure Pipelines, GitLib CI/CD, and Bitbucket Pipelines
- Better support for Kubernetes helm charts and manifests
Please reach out to us in discord if you would like to discuss any of these features or would like to see something else!
Support
If you run into any issues or have any suggestion, you can reach out to us in discord. We are also available to help over email at team@launchflow.com.