- You’re looking to create one or a few applications as a small/medium business and you care about data residency.
- You are interested in Dify Cloud, but your use case requires more resources than supported by the plans.
- You’d like to run a POC before adopting Dify Enterprise within your organization.
Access & Set up
After the AMI is deployed, access Dify via the instance’s public IP found in the EC2 console (HTTP port 80 is used by default). If this is your first time accessing Dify, enter the Admin initialization password (your EC2’s instance ID) to start the setup process.Customize
Configuration
Just like a self-hosted deployment, you may modify the environment variables in the.env file in your EC2 instance as you see fit. Then, restart Dify with:
Web App Logo & Branding
In Settings > Customization, you can remove thePowered by Dify branding or replace it with your own logo.
Upgrade
In the EC2 instance, run the following commands:Back Up Your Data
Back up your
.env file and the volumes directory, which contains your database, storage, and other persistent data:Check for New Environment Variables
New versions may introduce new environment variables in
.env.example. Compare it with your current .env and add any missing variables: