Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

How do I deploy a java bot online

I created a telegram bot and I want it stay online rather than always run it on inteliJ for it to respond

1 Answer

Eric M
Eric M
11,545 Points

Hi Marshall,

Running programs persistently online is an expansive topic and there are a lot of possible answers. I'd suggest you take a look at AWS Lambda, GCP Functions, and Azure functions. They're all available with free tier options with generous allowances within the first 12 months of usage.

There will be a learning curve for deploying on this sort of service but it is still much simpler than setting up your own server. Generally the official documentation for these platforms is serviceable and should allow you to get something running. If you need more detailed instruction this sort of infrastructure stuff is not really the domain of Team Treehouse, so you might want to check out acloud.guru - this is their focus.

Cheers,

Eric