Question

How to choose web service resource type and basic or start plan?

I deployed my first app platform via doctl and this application is running. That’s cool!

See the app running in production [https://drive.google.com/file/d/1YoNWdjq-Vs3Mq9QxiO3O84xmgxc-_LCj/view?usp=sharing]

Now I want to a new deploy with the same git source, but via control panel, but my .do.yaml file is recognized with a function. The correct thing would be a web-sevice. The basic or start plan options too do not appear.

See how it appears

[https://drive.google.com/file/d/1d4YygFScJoBeiwm3C7tydsCzbJ5eQOnK/view?usp=sharing](first step)

[https://drive.google.com/file/d/1oLPNEvgM9LiHmKMCndIVz2qBMp9O3dRA/view?usp=sharing](second step)

Where am I going wrong?

I need it to be like this python example [https://drive.google.com/file/d/1APEhmDat3KBYoogJ5KAEAGfeTDxX8v_i/view?usp=sharing]

See my .do.yaml file [https://drive.google.com/file/d/1POnKIAwiFWTvMa3AJq3C5uNjTaZD_MHR/view?usp=sharing]


Submit an answer


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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Greg M
DigitalOcean Employee
DigitalOcean Employee badge
December 9, 2022

Hello!

So in the UI you can edit a resource type that you have added.

When you’re looking at your app in the UI go to:

  • Create
  • Create Resources From Source Code
  • <choose the provider for your resource>
  • Hit Next
  • On this screen you will see your resource, there is a pencil button on the right side. Press the pencil button
  • Under Resource Type, hit Edit
  • In the drop down you can choose the component type (Web Service, worker… etc)

If you wanted to do this in doctl, you can just add to your app spec under the “services” components. You can download your existing app spec from the apps settings tab.

Once you have updated your app spec, you can update your app with:

doctl app update <app id> --spec /path/to/your/app/spec.

The app id is the id in the url of your app (https://cloud.digitalocean.com/apps/<your app id>/...)

You can also obtain this with doctl app list

Please let me know if you run into issues.

Greg

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel