forked from mboldt/docs-tiledev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathon-demand.html.md.erb
49 lines (34 loc) · 2.58 KB
/
on-demand.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: How to integrate your software as an On-Demand service
owner: Services
---
You can integrate your software as an On-Demand service and service tile for <%= vars.platform_name %>.
Brokered service and managed service integrations assume that you have a single VM instance
deployed for your software, or a limited number of VMs.
These VMs are multi-tenant, and you can scale them manually to accommodate many concurrent applications. But
for real production deployments, you want dedicated VM instances of your service for each application.
On-Demand (dynamic) services activates this flexibility in a scalable way. When you deploy the service, do
not pre-allocate VM resources for service instances. Instead, define an allowable range of VM memory and
CPU sizes and create a dedicated network on the IaaS to host any required number of service instance VMs.
When a developer creates an instance of an On-Demand service, they provision the resources within the
allowed range, and BOSH dynamically creates a new, dedicated VM for the instance.
## <a id="create"></a> Create an On-Demand service
The best way to create an on-demand service is to use the
[On-Demand Services SDK](https://docs.vmware.com/en/On-Demand-Services-SDK-for-VMware-Tanzu/0.43/on-demand-services-sdk/GUID-about.html).
The On-Demand services SDK provides a generic On-Demand service broker (ODB) that
the Tile Generator can consume like any other service broker.
The On-Demand service author does not write a service broker. Instead, it writes a service adapter
component that takes requests from the ODB and interfaces with the service software to fulfill requests
from the ODB.
To create the tile, you need to feed the service adapter and the BOSH release of the ODB to
[Tile Generator](./tile-generator.html):
* [On-Demand services SDK](https://docs.vmware.com/en/On-Demand-Services-SDK-for-VMware-Tanzu/0.43/on-demand-services-sdk/GUID-index.html) documentation explains how to write a service
adapter for an on-demand service that uses the ODB.
* After you have the individual components for your brokered service integration, you can work
through [Building your first tile](./index.html#tile-steps) to create your tile.
At any level of integration, you must use [Concourse](./concourse.html) for continuous integration
during development.
### <a id="dynamic-ha"></a> High availability
If you had not [already configured](./managed.html#managed-ha) your service for High Availability as a
managed service, the final step is to consider how
you can make each of your dynamically-provisioned service instances more highly available.