|
| 1 | +# 02 - Azure Spring Apps Enterprise Introduction |
| 2 | + |
| 3 | +In this lab we will explore Azure Spring Apps Enterprise (ASA-E) and create an instance we will use throughout the day. |
| 4 | + |
| 5 | +## Accept Azure Spring Apps plan |
| 6 | + |
| 7 | +* You need to accept the Azure Spring Apps Enterprise plan, e.g. |
| 8 | + |
| 9 | +```shell |
| 10 | +az term accept --publisher vmware-inc --product azure-spring-cloud-vmware-tanzu-2 --plan asa-ent-hr-mtr |
| 11 | +``` |
| 12 | + |
| 13 | +* Hopefully, there are no problems with your subscription signing the terms. You should see output like this, e.g. |
| 14 | + |
| 15 | +```text |
| 16 | +Command group 'term' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus |
| 17 | +{ |
| 18 | + "accepted": true, |
| 19 | + "id": "/subscriptions/00001111-aaaa-bbbb-cccc-ddddeeeeffff/providers/Microsoft.MarketplaceOrdering/offerTypes/Microsoft.MarketplaceOrdering/offertypes/publishers/vmware-inc/offers/azure-spring-cloud-vmware-tanzu-2/plans/asa-ent-hr-mtr/agreements/current", |
| 20 | + "licenseTextLink": "https://mpcprodsa.blob.core.windows.net/legalterms/3E5ED_legalterms_VMWARE%253a2DINC%253a24AZURE%253a2DSPRING%253a2DCLOUD%253a2DVMWARE%253a2DTANZU%253a2D2%253a24ASA%253a2DENT%253a2DHR%253a2DMTR%253a24TO3RAC3XZSHSDTP65CFZW6IPPAHH7AK67FSWSYMURETXWPUSCAVD4OLQYHA6YD5CWK4S4UAJE7VXIOTVYYJ7EJA67IXPJPVHUB2B7DY.txt", |
| 21 | + "marketplaceTermsLink": "https://mpcprodsa.blob.core.windows.net/marketplaceterms/3EDEF_marketplaceterms_SAAS%253a245XNIYDD23KXQBTPZZUVTDJNYHJZ5Y76OXRLYJ2DHP67BFUMFY42RHUG62CKSGJIAUTE2UN6MIODUJ4JBTOMEQBMWQM4VD2QGXBRTTUY.txt", |
| 22 | + "name": "asa-ent-hr-mtr", |
| 23 | + "plan": "asa-ent-hr-mtr", |
| 24 | + "privacyPolicyLink": "https://www.vmware.com/help/privacy.html", |
| 25 | + "product": "azure-spring-cloud-vmware-tanzu-2", |
| 26 | + "publisher": "vmware-inc", |
| 27 | + "retrieveDatetime": "2024-05-17T19:33:42.611828Z", |
| 28 | + "signature": "OT7T65UQENLCKBAT5465AVRDAO3IOB46AINSWT5PTBU3Z9RZ3ZBLKCFNWTRE7TLN22MOIFYR7DXOQ466D6DR4OC3NXZ56GQ4HZ4HPDY", |
| 29 | + "systemData": { |
| 30 | + "createdAt": "2024-05-17T19:33:46.875169+00:00", |
| 31 | + "createdBy": "00001111-aaaa-bbbb-cccc-ddddeeeeffff", |
| 32 | + "createdByType": "ManagedIdentity", |
| 33 | + "lastModifiedAt": "2024-05-17T19:33:46.875169+00:00", |
| 34 | + "lastModifiedBy": "00001111-aaaa-bbbb-cccc-ddddeeeeffff", |
| 35 | + "lastModifiedByType": "ManagedIdentity" |
| 36 | + }, |
| 37 | + "type": "Microsoft.MarketplaceOrdering/offertypes" |
| 38 | +} |
| 39 | +``` |
| 40 | + |
| 41 | +## Create ASA-E Instance |
| 42 | + |
| 43 | +* Let's configure environment variables for this workshop, please use corresponding workshop id, e.g. `asae-student01` |
| 44 | + |
| 45 | +```shell |
| 46 | +export REGION=westeurope |
| 47 | +export SUBSCRIPTION=asae-student01 |
| 48 | +export RESOURCE_GROUP=asae-student01 |
| 49 | +export SPRING_APPS_SERVICE=asae-student01 |
| 50 | +``` |
| 51 | + |
| 52 | +* Let's create a resource group for this workshop first, e.g. |
| 53 | + |
| 54 | +```shell |
| 55 | +az group create \ |
| 56 | + --name ${RESOURCE_GROUP} \ |
| 57 | + --location ${REGION} |
| 58 | +``` |
| 59 | + |
| 60 | +* Let's create an instance of Azure Spring Apps Enterprise, e.g. |
| 61 | + |
| 62 | +```shell |
| 63 | +az spring create \ |
| 64 | + --name "${SPRING_APPS_SERVICE}" \ |
| 65 | + --resource-group "${RESOURCE_GROUP}" \ |
| 66 | + --location "${REGION}" \ |
| 67 | + --sku enterprise \ |
| 68 | + --enable-application-configuration-service \ |
| 69 | + --application-configuration-service-generation Gen2 \ |
| 70 | + --enable-gateway \ |
| 71 | + --enable-service-registry \ |
| 72 | + --enable-application-live-view \ |
| 73 | + --enable-application-accelerator \ |
| 74 | + --enable-api-portal \ |
| 75 | + --build-pool-size S2 \ |
| 76 | + --verbose |
| 77 | +``` |
| 78 | + |
| 79 | +* The above `az spring create` command will take 10+ minutes to complete, as we are configuring lot of components for this Azure Spring Apps Enterprise instance. You can observe the output in the shell, e.g. |
| 80 | + |
| 81 | +```text |
| 82 | + - Creating Service .. |
| 83 | +Start configure Application Insights |
| 84 | +Application Insights "asae-student01" was created for this Azure Spring Apps. You can visit https://portal.azure.com/#resource/subscriptions/00001111-aaaa-bbbb-cccc-ddddeeeeffff/resourceGroups/asae-student01/providers/microsoft.insights/components/asae-student01/overview to view your Application Insights component |
| 85 | + - Creating Application Configuration Service .. |
| 86 | +Create with generation Gen2 |
| 87 | +- Creating Application Live View .. |
| 88 | +- View Application Live View through Dev Tool portal. Create Dev Tool Portal by running "az spring dev-tool create --service asae-student01 --resource-group asae-student01 --assign-endpoint" |
| 89 | +- Creating Dev Tool Portal .. |
| 90 | + - Creating Service Registry .. |
| 91 | + - Creating Spring Cloud Gateway .. |
| 92 | + - Creating API portal .. |
| 93 | + - Creating Application Accelerator .. |
| 94 | + { |
| 95 | + "id": "/subscriptions/00001111-aaaa-bbbb-cccc-ddddeeeeffff/resourceGroups/asae-student01/providers/Microsoft.AppPlatform/Spring/asae-student01", |
| 96 | + "location": "westeurope", |
| 97 | + "name": "asae-student01", |
| 98 | + "properties": { |
| 99 | + "fqdn": "asae-student01.azuremicroservices.io", |
| 100 | + "infraResourceGroup": null, |
| 101 | + "maintenanceScheduleConfiguration": null, |
| 102 | + "managedEnvironmentId": null, |
| 103 | + "marketplaceResource": { |
| 104 | + "plan": "asa-ent-hr-mtr", |
| 105 | + "product": "azure-spring-cloud-vmware-tanzu-2", |
| 106 | + "publisher": "vmware-inc" |
| 107 | + }, |
| 108 | + "networkProfile": { |
| 109 | + "appNetworkResourceGroup": null, |
| 110 | + "appSubnetId": null, |
| 111 | + "ingressConfig": null, |
| 112 | + "outboundIPs": { |
| 113 | + "publicIPs": [ |
| 114 | + "98.64.250.101", |
| 115 | + "98.64.250.102" |
| 116 | + ] |
| 117 | + }, |
| 118 | + "outboundType": "loadBalancer", |
| 119 | + "requiredTraffics": null, |
| 120 | + "serviceCidr": null, |
| 121 | + "serviceRuntimeNetworkResourceGroup": null, |
| 122 | + "serviceRuntimeSubnetId": null |
| 123 | + }, |
| 124 | + "powerState": "Running", |
| 125 | + "provisioningState": "Succeeded", |
| 126 | + "serviceId": "9b691e1378be429d8dd63ef79c441f08", |
| 127 | + "version": 3, |
| 128 | + "vnetAddons": null, |
| 129 | + "zoneRedundant": false |
| 130 | + }, |
| 131 | + "resourceGroup": "asae-student01", |
| 132 | + "sku": { |
| 133 | + "capacity": null, |
| 134 | + "name": "E0", |
| 135 | + "tier": "Enterprise" |
| 136 | + }, |
| 137 | + "systemData": { |
| 138 | + "createdAt": "2024-05-17T20:20:29.258713+00:00", |
| 139 | + |
| 140 | + "createdByType": "User", |
| 141 | + "lastModifiedAt": "2024-05-17T20:20:29.258713+00:00", |
| 142 | + "lastModifiedBy": "[email protected]", |
| 143 | + "lastModifiedByType": "User" |
| 144 | + }, |
| 145 | + "tags": null, |
| 146 | + "type": "Microsoft.AppPlatform/Spring" |
| 147 | +} |
| 148 | +Command ran in 631.394 seconds (init: 0.167, invoke: 631.227) |
| 149 | +``` |
| 150 | + |
| 151 | +* Please explore in [Azure portal](https://portal.azure.com) the creation of the new Azure Spring Apps Enterprise instance, e.g. |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | +* Once completed, you will see the status changed to `Succeeded`, e.g. |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | +* Feel free to explore the [Azure portal](https://portal.azure.com) for the ASA-E instance you have just created. |
| 160 | + |
| 161 | +## Next Guide |
| 162 | + |
| 163 | +Next guide - [03 - Workshop Environment Setup](../03-setup-workshop-environment/README.md) |
0 commit comments