Heroku third-party service access guide (1)

Source: Internet
Author: User
Heroku is an industry-leading PAAs platform that allows users to use various component services provided by the platform. What are the agreements between Heroku and third-party services provided by third-party service providers? As a vendor, how to develop third-party services for Heroku is the subject of this article.
OverviewHere is an example of the role of a third-party service (Addons): Your application requires MySQL to store data in the database. If you do not have Heroku, you need to buy a server, set up MySQL, configure the account, configure the server address in the code, and then connect to the database. In this case, it is annoying to manage and maintain the database environment on your own. If Heroku is available, you can search for the database service in the plug-in database, create database resources, and provide and maintain these database resources by a third party.

Combine the "third-party service use" Flowchart to sort out the following points: 1. Users can add services, add-on modules of websites, or command lines (local plug-ins need to be installed) 2. After receiving a user request, the Heroku server requires a third-party service to create resources. A third-party service returns a variable that represents the newly created resource. Heroku saves the variable to the running environment of the application. The application can read the variable (such as the URL address of the MySQL service) to operate the resource. 3. perform operations on the resource, will interact with third-party services. Your resources are saved by the service provider and do not require local maintenance. 4. A third-party vendor must provide a configuration file Heroku so that Heroku can integrate your services.

The next article will introduce specific protocols

Heroku third-party service access guide (1)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.