AWS Opsworks How to add Amazon RDS support

Source: Internet
Author: User
Tags aws opsworks aws management console

AWS Opsworks is an application management service. You can use it to define your application in one stack as a collection of different layers. Each stack provides package information that needs to be installed and configured, while also deploying any AWS resources defined in the Opsworks layer. Depending on the load or the predefined plan, Opsworks can also extend your application as needed.

If you plan to use Mysql,oracle,sqlserver or PostgreSQL, then Amazon relational database Service (RDS) can perform tedious, low-level system and database management work for you. You can allow RDS to handle hardware deployments, operating system and database installation, configuration, patching, scaling, backup, anomaly detection, and failover.

Today we will combine Opsworks and RDS so that you can refer to an RDS database instance that you created in advance in the AWS area where the Opsworks service resides by defining an RDS service layer. This feature is a complement to the existing Opsworks support MySQL layer.

You can define an RDS service layer in the AWS Management console as follows:

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Programming/extra/

To be able to create the RDS service layer, you will need to know the username and password of the database instance (this information will be passed to the application). If you do not have this information for the time being, you can edit the service layer or change the username/password later.

Note: Because all Opsworks stacks access AWS resources and services through the IAM (Identity and access Management) role, you may need to update the appropriate roles. Opsworks can detect the situation and provide assistance to handle it.

When you add the RDS service layer to the stack, Opsworks assigns it a flag (ID) and adds the information for the database instance to the stack configuration and deployment json file with the [:d Atabase] attribute. When the RDS service layer is used with the Ruby, PHP, and Java application services layers, Opsworks also provides some helper functions to help users access the details of the connection.

As always, this new feature is now available and you can start using it today. Visit the database Layers section of Opsworks User Guide for more information.

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.