Aller au contenu principal

Connectivité Cloud AWS - Créer un connecteur public Self-Made

Préparez les identifiants, le VPN technique, la région AWS, la passerelle cible et l'emplacement Orange avant de créer le connecteur.

1. Récupérer les identifiants AWS​

Listez les identifiants du projet et utilisez l'id retourné comme awsCredentialId. Si aucun identifiant n'est disponible, créez-en un.

GET https://ope-obs.apibackbone.orange.com/evolutionplatform/aws/api/v1/projects/{projectId}/aws/credentials?limit=10&offset=0

2. Récupérer le VPN technique​

Remplacez {tenantId} par l'UUID du tenant ou de l'organisation. Utilisez l'id du VPN retourné comme technicalVpnId.

GET https://ope-obs.apibackbone.orange.com/evolutionplatform/vpnaaservice/api/v2/tenant/{tenantId}/vpns?connectivity=Any2Any&limit=100&offset=0

3. Récupérer la région AWS​

Utilisez l'identifiant du projet pour lister les régions disponibles dans le compte AWS.

GET https://ope-obs.apibackbone.orange.com/evolutionplatform/aws/api/v1/aws/projects/{projectId}/public/regions?awsCredentialsId={awsCredentialId}

4. Récupérer la passerelle cible​

Sélectionnez une passerelle cible pour la région AWS choisie.

GET https://ope-obs.apibackbone.orange.com/evolutionplatform/aws/api/v1/projects/{projectId}/aws/public/targetgateways?awsCredentialsId={awsCredentialId}&regionName={region}

5. Récupérer l'emplacement Orange​

GET https://ope-obs.apibackbone.orange.com/evolutionplatform/aws/api/v1/aws/orangelocations

6. Créer le connecteur public​

Les champs obligatoires sont name, state, bandwidth, technicalVpnId, awsCredentialId, networkSideAsn, serviceLevel, primaryPopLocalization, networkSideGatewaySubnetPrimary, targetGatewayId et region. La localisation et le subnet secondaires sont facultatifs.

POST https://ope-obs.apibackbone.orange.com/evolutionplatform/aws/api/v1/projects/{projectId}/aws/cloudconnectors/publicselfmades
Authorization: Bearer YOUR_JWT_TOKEN
Content-Type: application/json
{
"name": "YOUR_CONNECTOR_NAME",
"state": "DESIGNED",
"bandwidth": 50,
"technicalVpnId": "YOUR_TECHNICAL_VPN_ID",
"awsCredentialId": "YOUR_AWS_CREDENTIAL_ID",
"networkSideAsn": 64512,
"serviceLevel": "Standard",
"primaryPopLocalization": "YOUR_ORANGE_LOCATION",
"networkSideGatewaySubnetPrimary": "YOUR_PRIMARY_GATEWAY_SUBNET",
"targetGatewayId": "YOUR_TARGET_GATEWAY_ID",
"region": "YOUR_AWS_REGION"
}

Utilisez l'ASN attribué à votre réseau. serviceLevel accepte Standard ou Ha. Une création réussie renvoie 201 Created ; voir la référence des endpoints pour les options du schéma.