Saturday, June 11th 2022
Princeton, NJ - MuleSoft Meetup
Group
Managing CloudHub applications using
CloudHub Platform API
Organizers

2
Subhas Roy
Sr. MuleSoft Integration Architect
MuleSoft Mentor
Srinivas Reddy Vydugula
Lead MuleSoft Developer
MuleSoft Mentor
Safe Harbour Statement
● Both the speaker and the host are organizing this meet-up in individual capacity only. We are
not representing our companies here.
● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any
responsibility that same solution will work for your business requirements.
● This presentation is not meant for any promotional activities.
3
4
● Introductions
● Managing CloudHub applications using CloudHub Platform API
● Demo
● Q&A session & Networking
● Trivia Quiz
Agenda
5
● This session will be recorded. The recording and slides of this meetup will be made available
to all attendees.
● Please be muted during the speaker presentation.
● Questions can be submitted/asked at any time in the Questions & Answers chat-box.
● At the end of the demo, there will be a Q&A session.
● After all the presentations, there will be a trivia quiz where you will get a chance to win a
training voucher from MuleSoft.
● Give us feedback! Rate this meetup session by filling feedback form at the end of the day.
Housekeeping Rules
6
● Please feel free to volunteer for the future Princeton, NJ meetup speaker.
● What do you expect from these meetups? Please send us an email with your expectations
and we will make sure that the events reflects the same.
● Anything else, just send us an email.
Request to all members
7
● MuleSoft CONNECT is Coming! : https://connect.mulesoft.com
● training.mulesoft.com
● Anypoint platform : anypoint.mulesoft.com
● help.mulesoft.com
● Exam readiness sessions (only IST zone)
● Become a Speaker/Leader/Mentor.
About the MuleSoft Community
Speaker
• MuleSoft Architect at Billennium, Canada.
• MuleSoft Ambassador.
• MuleSoft Meetup Leader Hyderabad
• Technical Writer/Speaker/Trainer
• Owner of MuleSoft TechZone - YouTube, LinkedIn,
Facebook, Instagram and Twitter
• http://www.sravanlingam.com
• https://www.linkedin.com/in/sravanlingam/
All contents © MuleSoft, LLC
Managing CloudHub applications using
CloudHub Platform API
All contents © MuleSoft, LLC
CloudHub API
● The CloudHub Management API or CloudHub API enables you to programmatically access
the functions of Anypoint Runtime Manager.
● Manage applications
● Manage logs, notifications, and alerts
● Manage load balancers
● Manage VPCs, VPNs, and TGWs
● Manage persistent queues
● Retrieve additional information
● For more info : https://docs.mulesoft.com/runtime-manager/cloudhub-api
10
All contents © MuleSoft, LLC
Use the CloudHub API
● You can use any HTTP client with the CloudHub API. With Java, use the Jersey
client or HttpClient with Jackson for JSON support.
● A JSON output should be generated, you should see an access_token in that output. Such
token will be valid for at least 60 minutes, depending on the account configuration
● You can have a Postman collection to perform operations
● You can create your customized API according to your needs by consuming Cloudhub API,
especially the DevOps team
● Checkout The Cloudhub API Specification in Exchange!
So, What’s the Process?
11
All contents © MuleSoft, LLC
To access operations in the CloudHub API
● Generate an authorization bearer token (AUTH_BEARER_TOKEN) to authenticate with the
API - Need your Anypoint Platform Username & Password GET /accounts/api/profile . Check
Access Management API in Exchange.
● Get the organization ID (ORG_ID). See the /api/me endpoint in the Access Management API.
● Get the environment ID (ENV_ID). See the /api/organizations/ORG_ID/environments endpoint
in the Access Management API.
Got bored with the Deck Already ? Let’s get our hands dirty !
12
All contents © MuleSoft, LLC
Demo
(Deploy, Update & Status of Application)
All contents © MuleSoft, LLC
Limitations?
● Resources and methods that return or accept a type use the JSON data format.
● The CloudHub management API enforces global usage limits, with some exceptions.
○ When the app reaches the rate limit, CloudHub returns a 503 status code.
○ US : 75 request per second
○ EU or Government : 25 requests per second
14
All contents © MuleSoft, LLC
Access Management API
● The Anypoint Access Management API enables you to access administrative functionality of
Anypoint Platform, including:
○ User Management
○ Client Management
○ Invitation and Signup
○ Organizations and Business Groups
○ Roles and Permissions
○ Environments
○ Entitlements
15
All contents © MuleSoft, LLC
Recommendations
● For More information, go through the exchange documentations of both Cloudhub API &
Access Management API
● As it involves the security related things like passwords and tokens, make sure only
Authorized Personnel are given access.
● For any kind of Issues , raise a MuleSoft Support ticket !
● Why don’t you create a Mule Application , a reusable Dashboard that can be used for various
operations!
16
Q&A session & Networking
Answer the question and win a voucher for MuleSoft training
Trivia Quiz
Go To Mobile Browser
Enter :
Kahoot.it
Enter Your Full Valid Name
(Nick Names are not allowed)
Read the options and Tap the color which
has correct answer.
Winners Don’t forget to share your email Ids
22
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Share in LinkedIn using the hashtag #mulesoftmeetups and #mulesoftcommunity
○ Invite your network to join: https://meetups.mulesoft.com/princeton/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program.
What’s next?
Thank you
Don’t forget to provide the
Feedback of this Meetup

Princeton-NJ-Meetup-Managing CloudHub applications using CloudHub Platform API

  • 1.
    Saturday, June 11th2022 Princeton, NJ - MuleSoft Meetup Group Managing CloudHub applications using CloudHub Platform API
  • 2.
    Organizers 2 Subhas Roy Sr. MuleSoftIntegration Architect MuleSoft Mentor Srinivas Reddy Vydugula Lead MuleSoft Developer MuleSoft Mentor
  • 3.
    Safe Harbour Statement ●Both the speaker and the host are organizing this meet-up in individual capacity only. We are not representing our companies here. ● This presentation is strictly for learning purposes only. Organizer/Presenter do not hold any responsibility that same solution will work for your business requirements. ● This presentation is not meant for any promotional activities. 3
  • 4.
    4 ● Introductions ● ManagingCloudHub applications using CloudHub Platform API ● Demo ● Q&A session & Networking ● Trivia Quiz Agenda
  • 5.
    5 ● This sessionwill be recorded. The recording and slides of this meetup will be made available to all attendees. ● Please be muted during the speaker presentation. ● Questions can be submitted/asked at any time in the Questions & Answers chat-box. ● At the end of the demo, there will be a Q&A session. ● After all the presentations, there will be a trivia quiz where you will get a chance to win a training voucher from MuleSoft. ● Give us feedback! Rate this meetup session by filling feedback form at the end of the day. Housekeeping Rules
  • 6.
    6 ● Please feelfree to volunteer for the future Princeton, NJ meetup speaker. ● What do you expect from these meetups? Please send us an email with your expectations and we will make sure that the events reflects the same. ● Anything else, just send us an email. Request to all members
  • 7.
    7 ● MuleSoft CONNECTis Coming! : https://connect.mulesoft.com ● training.mulesoft.com ● Anypoint platform : anypoint.mulesoft.com ● help.mulesoft.com ● Exam readiness sessions (only IST zone) ● Become a Speaker/Leader/Mentor. About the MuleSoft Community
  • 8.
    Speaker • MuleSoft Architectat Billennium, Canada. • MuleSoft Ambassador. • MuleSoft Meetup Leader Hyderabad • Technical Writer/Speaker/Trainer • Owner of MuleSoft TechZone - YouTube, LinkedIn, Facebook, Instagram and Twitter • http://www.sravanlingam.com • https://www.linkedin.com/in/sravanlingam/
  • 9.
    All contents ©MuleSoft, LLC Managing CloudHub applications using CloudHub Platform API
  • 10.
    All contents ©MuleSoft, LLC CloudHub API ● The CloudHub Management API or CloudHub API enables you to programmatically access the functions of Anypoint Runtime Manager. ● Manage applications ● Manage logs, notifications, and alerts ● Manage load balancers ● Manage VPCs, VPNs, and TGWs ● Manage persistent queues ● Retrieve additional information ● For more info : https://docs.mulesoft.com/runtime-manager/cloudhub-api 10
  • 11.
    All contents ©MuleSoft, LLC Use the CloudHub API ● You can use any HTTP client with the CloudHub API. With Java, use the Jersey client or HttpClient with Jackson for JSON support. ● A JSON output should be generated, you should see an access_token in that output. Such token will be valid for at least 60 minutes, depending on the account configuration ● You can have a Postman collection to perform operations ● You can create your customized API according to your needs by consuming Cloudhub API, especially the DevOps team ● Checkout The Cloudhub API Specification in Exchange! So, What’s the Process? 11
  • 12.
    All contents ©MuleSoft, LLC To access operations in the CloudHub API ● Generate an authorization bearer token (AUTH_BEARER_TOKEN) to authenticate with the API - Need your Anypoint Platform Username & Password GET /accounts/api/profile . Check Access Management API in Exchange. ● Get the organization ID (ORG_ID). See the /api/me endpoint in the Access Management API. ● Get the environment ID (ENV_ID). See the /api/organizations/ORG_ID/environments endpoint in the Access Management API. Got bored with the Deck Already ? Let’s get our hands dirty ! 12
  • 13.
    All contents ©MuleSoft, LLC Demo (Deploy, Update & Status of Application)
  • 14.
    All contents ©MuleSoft, LLC Limitations? ● Resources and methods that return or accept a type use the JSON data format. ● The CloudHub management API enforces global usage limits, with some exceptions. ○ When the app reaches the rate limit, CloudHub returns a 503 status code. ○ US : 75 request per second ○ EU or Government : 25 requests per second 14
  • 15.
    All contents ©MuleSoft, LLC Access Management API ● The Anypoint Access Management API enables you to access administrative functionality of Anypoint Platform, including: ○ User Management ○ Client Management ○ Invitation and Signup ○ Organizations and Business Groups ○ Roles and Permissions ○ Environments ○ Entitlements 15
  • 16.
    All contents ©MuleSoft, LLC Recommendations ● For More information, go through the exchange documentations of both Cloudhub API & Access Management API ● As it involves the security related things like passwords and tokens, make sure only Authorized Personnel are given access. ● For any kind of Issues , raise a MuleSoft Support ticket ! ● Why don’t you create a Mule Application , a reusable Dashboard that can be used for various operations! 16
  • 17.
    Q&A session &Networking
  • 18.
    Answer the questionand win a voucher for MuleSoft training Trivia Quiz
  • 19.
    Go To MobileBrowser Enter : Kahoot.it Enter Your Full Valid Name (Nick Names are not allowed)
  • 20.
    Read the optionsand Tap the color which has correct answer.
  • 21.
    Winners Don’t forgetto share your email Ids
  • 22.
    22 ● Share: ○ Tweetusing the hashtag #MuleSoftMeetups ○ Share in LinkedIn using the hashtag #mulesoftmeetups and #mulesoftcommunity ○ Invite your network to join: https://meetups.mulesoft.com/princeton/ ● Feedback: ○ Fill out the survey feedback and suggest topics for upcoming events ○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program. What’s next?
  • 23.
    Thank you Don’t forgetto provide the Feedback of this Meetup