Module 5: Limit available devices for AS3 Application Services (new 7.1) ======================================================================== .. note:: Estimated time to complete: **10 minutes** In prior versions of BIG-IQ, there was no way to limit where application owners could deploy their applications. In BIG-IQ 7.1, we can associate devices or device groups with a role. .. include:: /accesslab.rst Tasks ^^^^^ 1. Login to BIG-IQ as **david** . 2. Navigate to System > User Management > Users .. image:: ../pictures/module5/lab-1-1.png :scale: 40% :align: center 3. Click on **Add** to create the user. - Auth Provider: ``local`` - User Name: ``user-device-limit-as3`` - Full Name: ``Class 1 Lab 5`` - Password: ``password`` .. image:: ../pictures/module5/lab-1-2.png :scale: 40% :align: center Save & Close 4. Navigate to System > Role Management > Roles > Custom Roles > Application Roles .. image:: ../pictures/module5/lab-1-3.png :scale: 40% :align: center 5. Click on **Add** and fill out below details to create the custom application role. - Name: ``lab-device-rbac`` - Active Users and Groups: ``user-device-limit-as3`` .. image:: ../pictures/module5/lab-1-4.png :scale: 40% :align: center - Devices: ``10.1.1.11 SJC-vBIGIP01.termmarc.com`` - Device Groups: *Empty* .. warning:: Do not forget to remove the ``cm-bigip-allBigIpDevices`` from the Device Groups list. .. image:: ../pictures/module5/lab-1-5.png :scale: 40% :align: center - AS3 Templates: ``AS3-F5-HTTP-lb-template-big-iq-default-v1`` .. image:: ../pictures/module5/lab-1-6.png :scale: 40% :align: center **Save & Close** 6. Logout as **david** and log back in as **user-device-limit-as3** using the **local** Auth Provider and click **Create** application. .. image:: ../pictures/module5/lab-1-7.png :scale: 40% :align: center 7. Click **Create** to create an Application Service: +----------------------------------------------------------------------------------------------------+ | Application properties: | +----------------------------------------------------------------------------------------------------+ | * Grouping = ``New Application`` | | * Application Name = ``LAB_module5`` | +----------------------------------------------------------------------------------------------------+ | Select an Application Service Template: | +----------------------------------------------------------------------------------------------------+ | * Template Type = Select ``AS3-F5-HTTP-lb-template-big-iq-default [AS3]`` | +----------------------------------------------------------------------------------------------------+ | General Properties: | +----------------------------------------------------------------------------------------------------+ | * Application Service Name = ``https_app_service_2`` | | * Target = ``SJC-vBIGIP01.termmarc.com`` | | * Tenant = ``tenant2`` | +----------------------------------------------------------------------------------------------------+ | HTTP_Profile. Keep default. | +----------------------------------------------------------------------------------------------------+ | Pool | +----------------------------------------------------------------------------------------------------+ | * Members: ``10.1.20.124``, port ``80`` | | * Members: ``10.1.20.125``, port ``80`` | +----------------------------------------------------------------------------------------------------+ | Service_HTTP | +----------------------------------------------------------------------------------------------------+ | * Virtual addresses: ``10.1.10.120`` | +----------------------------------------------------------------------------------------------------+ | Analytics_Profile. Keep default. | +----------------------------------------------------------------------------------------------------+ .. image:: ../pictures/module5/lab-1-8.png :scale: 40% :align: center .. note:: Notice the user doesn't have access to the other BIG-IPs available in the system. 8. Click **Create**. 9. Check the Application ``LAB_module5`` has been created. .. image:: ../pictures/module5/lab-1-9.png :scale: 40% :align: center .. note:: If not visible, refresh the page. It can take few seconds for the application service to appear on the dashboard. 10. Finally, remove the application service ``https_app_service_2`` and the application ``LAB_module5``. .. image:: ../pictures/module5/lab-1-10.png :scale: 40% :align: center