I am trying to setup a project that uses PostgreSQL and S3 that are both hosted on DigitalOcean with doctl. Following the tutorial, I created a app.yaml file that has a service that runs my app and a database that created a PG instance. However, I was not able to find out how to create a S3 space in the reference page. Is this simply not supported or am I missing something? Thanks for the help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey Matthew! 👋
Yes, as of the moment, the DigitalOcean App Platform doesn’t support provisioning Spaces directly in app.yaml
, but you can still definitely use it, you would just need to have it created either manually or using doctl
.
https://docs.digitalocean.com/products/spaces/how-to/create/
Then Generate Spaces Access Keys and add the details to your app.yaml
:
envs:
- key: SPACES_ACCESS_KEY
value: "your-access-key"
- key: SPACES_SECRET_KEY
value: "your-secret-key"
- key: SPACES_REGION
value: "nyc3"
- key: SPACES_BUCKET
value: "my-space"
The best thing to do to get your voice heard regarding this would be to head over to the DigitalOcean Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.
- Bobby.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.