Now that our database instance is provisioned, we need to create our backend node application and bind the same to our database service.īefore initializing our node project, we will need to update our postgre service with a tag name which will be used by our node application to identify and bind to the service. ** This is needed only if you are looking to test the connection to the above db instance from a standalone application residing outside of this cloud environment and not bound to this instance. Give it a meaningful name and hit “Create” without modifying any other parameters. Once completed, run the command “cf services” and you should be able to see the service listed for your account.Ĭreate a service key for the above instance from the portal. Here “postgresql-db” is the name of the service, “trial” is the service plan and “my-post-db-02” is the instance name. The instance creation takes about 10 mins. Provide your username and password which was used to create the btp account.Ĭreate an instance of postgresql using the following command: “cf create-service postgresql-db trial my-post-db-02”. Inside your subaccount, click on Service Marketplace and search for “PostgreSql”.Ĭome back to cmd and login to your cloud foundry account using “cf login -a ”. Our application will consist of 3 layers: If installed properly, you should be able to see a list of available commands. Once installed, open cmd and run cf –help. We will be using cloud foundry cli to push our applications to btp. Now your BTP platform is ready to have applications deployed onto it.ĭownload the package for your respective OS from below URL and install the same on your local machine. Once enabled, we will need to create a “space” to deploy our application.Ĭlick on “Create Space” and give it some meaningful name. Nothing needs to be changed in the pop up that follows. Go inside the newly created sub-account and click on “Enable Cloud Foundry”. SAP BTP offers 2 environments to host/manage application viz. In the pop up that appears, give your sub-account some meaningful name and select the “US East AWS region”. We will create our own.Ĭlick on “Create”–>Subaccount. Bookmark this for future use.Ī “trial” sub-account was already created while creating our account. Once you click “Continue”, you should be able to see the BTP Home Screen.Ĭlick on “Go To Your Trial Account”. The account creation takes a while, you should be able to see the below screen eventually. I will select Singapore as that’s the server closest to my current location and click on “Create Account”. Next, you should see the following pop-up appear. Once you login for the first time, you should be able to see the below prompt appear. To get started, login or register to the same using the below url: SAP Business Technology Platform (formerly Cloud Foundry) is a PaaS offered by SAP to host your on-premise applications on cloud. The blog will take you through all the steps required to deploy a client and server side application on SAP BTP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |