SlideShare uma empresa Scribd logo
1 de 27
Mercoledì 07/12/2021
Rome MuleSoft Meetup Group
Processi di automazione su CloudHub
2
Muleys, Meetup Leaders and… speakers Today’s moderator:
Contacts:
● aumbrico@mulesoft.com
● amartino@mulesoft.com
● sbenfari@mulesoft.com
Introductions
3
● Anypoint Platform: Infrastructure as a Code (30 mins)
● Gestione degli API Proxy (30 mins)
● Q&A (15 mins)
● Trivia quiz (15 mins)
Agenda
Anypoint Platform:
Infrastructure as a Code
● Developed by the MuleSoft Professional Services team using Open Source building blocks
● Automate CloudHub Platform setup using an Infrastructure as a Code approach
● Reduce setup time and keep track of Platform modifications through code version control
● Inject standard Platform Setup best practises (i.e. Segregation using BGs, Security using VPCs and DLBs
Firewall rules, User accountability by setting proper roles base on User’s scope, ... )
● Eliminate repetitive tasks for Platform Admins in order to focus on Architecture and Application design
Tool overview
CloudHub Automation Tool (CAT)
Our Operating Model
CloudHub Automation Tool (CAT)
2
Create OAS specification for every
Anypoint Platform identified
resource.
1
Establish Anypoint Platform use
cases and target resource.
Use-case should involve full resource
lifecycle (GET, POST, DELETE)
3
Generation of a Client Library
(Golang), using an automated,
pipeline for interacting with the API
previously identified
4
Creation of the first Anypoint Platform
Terraform provider for managing AP
Setup using an Infrastructure as a Code
paradigma
Features selection
CloudHub Automation Tool (CAT)
Product Roadmap
CloudHub Automation Tool (CAT)
8
Permissions
Roles
Environment
Self-service
Advanced Scope
MVP Scope
Permissions
Roles
Environment
Permissions
Roles
Environment
Permissions
Roles
Environment
Prototype
Prove the demand
and solution
MVP
Ready to offer
basic automation
Release 1
Advanced
automation
Release 2
Best practices via
automation
Advanced Scope
MVP Scope
Permissions
Roles
Environment
Best practices
Release 3
Self service
Organisation
Organisation Organisation Organisation Organisation
MVP Scope
Advanced Scope
Best practices
✅
✅
✅
✅
✅
✅
Teams Teams Teams Teams
✅
✅
✅
✅ ✅
✅
✅
✅
✅
MVP Scope
✅
✅
CloudHub Automation Tool (CAT)
Building Blocks - AP Postman Collection & OAS Specification
We created a Postman Collection and relative Open API Specification 3 (OAS3) for Anypoint Platform main
resources: BGs, Users, Teams, Envs, VPC,...
GitHub repository: https://github.com/mulesoft-consulting/cloudhub-automation-postman/
CloudHub Automation Tool (CAT)
Building Blocks - Anypoint Client Library
We used an automated pipeline together with an Open API generator plugin to generate a Golang client called
Anypoint Client Library to be used in Terraform as an abstraction layer to perform actions on the Anypoint
Platform.
CloudHub Automation Tool (CAT)
Building Blocks - Delivery Cycle
The delivery cycle is composed of 3 steps:
1. Pick one resource and understand how it works
using tools like Postman, Anypoint
documentation and your favorite browser's
inspector.
2. Create the OAS3 specification. The
specification should at least contain GET,
POST and DELETE operations. Using the OAS
spec, a go module will be automatically
generated.
3. Implement the resource and related data
sources in the provider using the generated
library.
What is Terraform?
A tool for building, changing and versioning infrastructure safely and efficiently.
CloudHub Automation Tool (CAT)
Terraform Provider deep dive
We used Terraform together with the Anypoint Client Library as an abstraction layer to perform actions on
Anypoint Platform.
CloudHub Automation Tool (CAT)
Terraform Core Plugins Mulesoft APIs
Anypoint Provider
RPC
Client Library
Golang
HTTPS
Terraform Official Registry
We released the first Terraform Anypoint Platform’s Provider on Terraform Official Registry
Terraform provider: https://registry.terraform.io/providers/mulesoft-anypoint/anypoint/latest
CloudHub Automation Tool (CAT)
How to contribute
● Try the tool yourself and give us a feedback/report an issue on the project’s GitHub repository.
● Write OAS3 specifications for missing resources.
● Implement resources/data sources in the provider.
CloudHub Automation Tool (CAT)
Resources
Anypoint Postman Collection: https://github.com/mulesoft-consulting/anypoint-automation-postman
Anypoint Client Go: https://github.com/mulesoft-consulting/anypoint-client-go
Anypoint Terraform Provider: https://github.com/mulesoft-consulting/terraform-provider-anypoint
Demo
Gestione degli API Proxy
Migration of API ecosystem to MuleSoft Platform
● Business needs: migrate a very large set of APIs from a legacy system to Anypoint Platform, to increase
delivery, cost reduction, increase both efficiency and effectiveness, more control of the entire lifecycle of
APIs ecosystem.
● Use the assets available in the MuleSoft’ developer portal to automate creation and configuration of
migrated APIs to the Anypoint Platform
● Business results: 100 APIs/days migrated for 3 environments, reduce time and effort to manage API
ecosystem, low impact on production activities
API Proxy management
Resources
MuleSoft’s developer portal: https://anypoint.mulesoft.com/exchange/portals/anypoint-platform
Implementation steps
The reusable assets in the Developer Portal allows to
fully automate all the required tasks to create,
configure, instantiate and monitor APIs.
Steps are executed sending REST requests to
different components of the architecture platform.
Each component exposes services to fully manage the
scope it has the ownership of.
● Access Management: allow accesses to the
platform, managing grants and roles.
● API Manager: creation, configuration and
monitoring of APIs
● Proxies and Runtime Manager: API client
instantiation and execution
API Proxy management
Migration process
● Extraction of API information from legacy systems (configuration, ownership, endpoints, policies, …)
● Select APIs to be migrate and complete missing information (delete duplicates, drop unuseful, identify items
without owner, ...)
● Run automation tool in test environment for a handable subset of APIs, to identify and solve migration
issues.
● Test of the full API lifecycle in the Anypoint Platform (accesses, policy application, monitoring, …) making
some tuning
● Migration of the overall large set of APIs for development, quality and production environments
API Proxy management
Tool execution
● Get access token
● Get environment information (organization and environment ids, TLS context ids, provider id, available
policies, ...)
● For each entry:
- Create a REST API asset in the Exchange (if it doesn’t exist yet)
- Create an API instance in the Exchange from API asset
- Applying default policies to all APIs, then apply specific policy at each API.
- Deploy proxy applications into Runtime Manager
- Create client applications to get client IDs and secrets
API Proxy management
Demo
Q&A
Trivia Quiz
What’s next
26
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/rome/
● 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

Mais conteúdo relacionado

Mais procurados

Mule soft meetup__adelaide_october_2020_final (2)
Mule soft meetup__adelaide_october_2020_final (2)Mule soft meetup__adelaide_october_2020_final (2)
Mule soft meetup__adelaide_october_2020_final (2)Nicholas Bowman
 
Solace PubSub+ MuleSoft Connector for Mule 4
Solace PubSub+ MuleSoft Connector for Mule 4Solace PubSub+ MuleSoft Connector for Mule 4
Solace PubSub+ MuleSoft Connector for Mule 4Manish Kumar Yadav
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratchNikhil More
 
MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021Julian Douch
 
Richmond MuleSoft Meetup 2021-08-18
Richmond MuleSoft Meetup 2021-08-18Richmond MuleSoft Meetup 2021-08-18
Richmond MuleSoft Meetup 2021-08-18Tom Obermeyer
 
Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Akshata Sawant
 
Nagpur Mulesoft Meetup on CICD using Jenkins
Nagpur Mulesoft Meetup on CICD using JenkinsNagpur Mulesoft Meetup on CICD using Jenkins
Nagpur Mulesoft Meetup on CICD using Jenkinspqrs1234
 
Mulesoft KL Meetup 2
Mulesoft KL Meetup 2Mulesoft KL Meetup 2
Mulesoft KL Meetup 2NitushreeJena
 
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...Angel Alberici
 
Testing strategies and best practices using MUnit
Testing strategies and best practices using MUnitTesting strategies and best practices using MUnit
Testing strategies and best practices using MUnitJimmy Attia
 
Virtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment modelVirtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment modelJimmy Attia
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesFernando Silva
 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVikalp Bhalia
 
Mumbai MuleSoft Meetup #15
Mumbai MuleSoft Meetup #15Mumbai MuleSoft Meetup #15
Mumbai MuleSoft Meetup #15Akshata Sawant
 
[Final] best practices for access management (mule soft meetups riyadh) - j...
[Final] best practices for access management (mule soft meetups   riyadh) - j...[Final] best practices for access management (mule soft meetups   riyadh) - j...
[Final] best practices for access management (mule soft meetups riyadh) - j...satyasekhar123
 
Mumbai MuleSoft Meetup 13
Mumbai MuleSoft Meetup 13Mumbai MuleSoft Meetup 13
Mumbai MuleSoft Meetup 13Akshata Sawant
 
Kochi mulesoft meetup 02
Kochi mulesoft meetup 02Kochi mulesoft meetup 02
Kochi mulesoft meetup 02sumitahuja94
 
MuleSoft CloudHub API Versioning
MuleSoft CloudHub API VersioningMuleSoft CloudHub API Versioning
MuleSoft CloudHub API VersioningPatryk Bandurski
 
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ IntegrationsMumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ IntegrationsAkshata Sawant
 

Mais procurados (20)

Mule soft meetup__adelaide_october_2020_final (2)
Mule soft meetup__adelaide_october_2020_final (2)Mule soft meetup__adelaide_october_2020_final (2)
Mule soft meetup__adelaide_october_2020_final (2)
 
Solace PubSub+ MuleSoft Connector for Mule 4
Solace PubSub+ MuleSoft Connector for Mule 4Solace PubSub+ MuleSoft Connector for Mule 4
Solace PubSub+ MuleSoft Connector for Mule 4
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratch
 
MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021
 
Richmond MuleSoft Meetup 2021-08-18
Richmond MuleSoft Meetup 2021-08-18Richmond MuleSoft Meetup 2021-08-18
Richmond MuleSoft Meetup 2021-08-18
 
Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12Mumbai MuleSoft Meetup 12
Mumbai MuleSoft Meetup 12
 
Nagpur Mulesoft Meetup on CICD using Jenkins
Nagpur Mulesoft Meetup on CICD using JenkinsNagpur Mulesoft Meetup on CICD using Jenkins
Nagpur Mulesoft Meetup on CICD using Jenkins
 
Mulesoft KL Meetup 2
Mulesoft KL Meetup 2Mulesoft KL Meetup 2
Mulesoft KL Meetup 2
 
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
Sustainability Challenge, Postman, Rest sheet and Anypoint provider : MuleSof...
 
Testing strategies and best practices using MUnit
Testing strategies and best practices using MUnitTesting strategies and best practices using MUnit
Testing strategies and best practices using MUnit
 
Virtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment modelVirtual meetup - Exploring the Runtime Fabric deployment model
Virtual meetup - Exploring the Runtime Fabric deployment model
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup Slides
 
WHISHWORKS-MuleSoft Hyderabad Meetup -Oct 2018
WHISHWORKS-MuleSoft Hyderabad Meetup -Oct 2018WHISHWORKS-MuleSoft Hyderabad Meetup -Oct 2018
WHISHWORKS-MuleSoft Hyderabad Meetup -Oct 2018
 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-july
 
Mumbai MuleSoft Meetup #15
Mumbai MuleSoft Meetup #15Mumbai MuleSoft Meetup #15
Mumbai MuleSoft Meetup #15
 
[Final] best practices for access management (mule soft meetups riyadh) - j...
[Final] best practices for access management (mule soft meetups   riyadh) - j...[Final] best practices for access management (mule soft meetups   riyadh) - j...
[Final] best practices for access management (mule soft meetups riyadh) - j...
 
Mumbai MuleSoft Meetup 13
Mumbai MuleSoft Meetup 13Mumbai MuleSoft Meetup 13
Mumbai MuleSoft Meetup 13
 
Kochi mulesoft meetup 02
Kochi mulesoft meetup 02Kochi mulesoft meetup 02
Kochi mulesoft meetup 02
 
MuleSoft CloudHub API Versioning
MuleSoft CloudHub API VersioningMuleSoft CloudHub API Versioning
MuleSoft CloudHub API Versioning
 
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ IntegrationsMumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
Mumbai MuleSoft Meetup #19 - Anypoint monitoring and MQ Integrations
 

Semelhante a MuleSoft Meetup Roma - Processi di Automazione su CloudHub

Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataGetInData
 
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...GetInData
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAkshata Sawant
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxSteve Clarke
 
from ai.backend import python @ pycontw2018
from ai.backend import python @ pycontw2018from ai.backend import python @ pycontw2018
from ai.backend import python @ pycontw2018Chun-Yu Tseng
 
MeetUp Monitoring with Prometheus and Grafana (September 2018)
MeetUp Monitoring with Prometheus and Grafana (September 2018)MeetUp Monitoring with Prometheus and Grafana (September 2018)
MeetUp Monitoring with Prometheus and Grafana (September 2018)Lucas Jellema
 
Mulesoft Connections to different companies, and different services
Mulesoft Connections to different companies, and different servicesMulesoft Connections to different companies, and different services
Mulesoft Connections to different companies, and different servicesByreddy Sravan Kumar Reddy
 
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...Jitendra Bafna
 
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...OpenWhisk
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017Patrick Chanezon
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyftmarkgrover
 
The Right Tool for the Right Project
The Right Tool for the Right ProjectThe Right Tool for the Right Project
The Right Tool for the Right ProjectOri Bendet
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
Monitoring a Kubernetes-backed microservice architecture with Prometheus
Monitoring a Kubernetes-backed microservice architecture with PrometheusMonitoring a Kubernetes-backed microservice architecture with Prometheus
Monitoring a Kubernetes-backed microservice architecture with PrometheusFabian Reinartz
 
AEM - A Collection of developer friendly tools
AEM - A Collection of developer friendly toolsAEM - A Collection of developer friendly tools
AEM - A Collection of developer friendly toolsAshokkumar T A
 
Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36MysoreMuleSoftMeetup
 
MuleSoft Meetup Charlotte 2019
MuleSoft Meetup Charlotte  2019MuleSoft Meetup Charlotte  2019
MuleSoft Meetup Charlotte 2019Subhash Patel
 

Semelhante a MuleSoft Meetup Roma - Processi di Automazione su CloudHub (20)

Monitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInDataMonitoring in Big Data Platform - Albert Lewandowski, GetInData
Monitoring in Big Data Platform - Albert Lewandowski, GetInData
 
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
Functioning incessantly of Data Science Platform with Kubeflow - Albert Lewan...
 
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptxAnypoint Tools and MuleSoft Automation (DRAFT).pptx
Anypoint Tools and MuleSoft Automation (DRAFT).pptx
 
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptxMuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
MuleSoft Meetup #9 - Anypoint Tools and MuleSoft Automation (FINAL).pptx
 
from ai.backend import python @ pycontw2018
from ai.backend import python @ pycontw2018from ai.backend import python @ pycontw2018
from ai.backend import python @ pycontw2018
 
Prometheus and Grafana
Prometheus and GrafanaPrometheus and Grafana
Prometheus and Grafana
 
MeetUp Monitoring with Prometheus and Grafana (September 2018)
MeetUp Monitoring with Prometheus and Grafana (September 2018)MeetUp Monitoring with Prometheus and Grafana (September 2018)
MeetUp Monitoring with Prometheus and Grafana (September 2018)
 
Mulesoft Connections to different companies, and different services
Mulesoft Connections to different companies, and different servicesMulesoft Connections to different companies, and different services
Mulesoft Connections to different companies, and different services
 
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
MuleSoft Surat Virtual Meetup#31 - Async API, Process Error, Circuit Breaker ...
 
Power Apps for developers
Power Apps for developersPower Apps for developers
Power Apps for developers
 
Building APIs with Mule and Spring Boot
Building APIs with Mule and Spring BootBuilding APIs with Mule and Spring Boot
Building APIs with Mule and Spring Boot
 
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
IBM Bluemix OpenWhisk: Serverless Conference 2016, London, UK: The Future of ...
 
What's New in Docker - February 2017
What's New in Docker - February 2017What's New in Docker - February 2017
What's New in Docker - February 2017
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyft
 
The Right Tool for the Right Project
The Right Tool for the Right ProjectThe Right Tool for the Right Project
The Right Tool for the Right Project
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
Monitoring a Kubernetes-backed microservice architecture with Prometheus
Monitoring a Kubernetes-backed microservice architecture with PrometheusMonitoring a Kubernetes-backed microservice architecture with Prometheus
Monitoring a Kubernetes-backed microservice architecture with Prometheus
 
AEM - A Collection of developer friendly tools
AEM - A Collection of developer friendly toolsAEM - A Collection of developer friendly tools
AEM - A Collection of developer friendly tools
 
Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36Azure DevOps Pipeline setup for Mule APIs #36
Azure DevOps Pipeline setup for Mule APIs #36
 
MuleSoft Meetup Charlotte 2019
MuleSoft Meetup Charlotte  2019MuleSoft Meetup Charlotte  2019
MuleSoft Meetup Charlotte 2019
 

Último

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Último (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

MuleSoft Meetup Roma - Processi di Automazione su CloudHub

  • 1. Mercoledì 07/12/2021 Rome MuleSoft Meetup Group Processi di automazione su CloudHub
  • 2. 2 Muleys, Meetup Leaders and… speakers Today’s moderator: Contacts: ● aumbrico@mulesoft.com ● amartino@mulesoft.com ● sbenfari@mulesoft.com Introductions
  • 3. 3 ● Anypoint Platform: Infrastructure as a Code (30 mins) ● Gestione degli API Proxy (30 mins) ● Q&A (15 mins) ● Trivia quiz (15 mins) Agenda
  • 5. ● Developed by the MuleSoft Professional Services team using Open Source building blocks ● Automate CloudHub Platform setup using an Infrastructure as a Code approach ● Reduce setup time and keep track of Platform modifications through code version control ● Inject standard Platform Setup best practises (i.e. Segregation using BGs, Security using VPCs and DLBs Firewall rules, User accountability by setting proper roles base on User’s scope, ... ) ● Eliminate repetitive tasks for Platform Admins in order to focus on Architecture and Application design Tool overview CloudHub Automation Tool (CAT)
  • 6. Our Operating Model CloudHub Automation Tool (CAT) 2 Create OAS specification for every Anypoint Platform identified resource. 1 Establish Anypoint Platform use cases and target resource. Use-case should involve full resource lifecycle (GET, POST, DELETE) 3 Generation of a Client Library (Golang), using an automated, pipeline for interacting with the API previously identified 4 Creation of the first Anypoint Platform Terraform provider for managing AP Setup using an Infrastructure as a Code paradigma
  • 8. Product Roadmap CloudHub Automation Tool (CAT) 8 Permissions Roles Environment Self-service Advanced Scope MVP Scope Permissions Roles Environment Permissions Roles Environment Permissions Roles Environment Prototype Prove the demand and solution MVP Ready to offer basic automation Release 1 Advanced automation Release 2 Best practices via automation Advanced Scope MVP Scope Permissions Roles Environment Best practices Release 3 Self service Organisation Organisation Organisation Organisation Organisation MVP Scope Advanced Scope Best practices ✅ ✅ ✅ ✅ ✅ ✅ Teams Teams Teams Teams ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅ MVP Scope ✅ ✅
  • 9. CloudHub Automation Tool (CAT) Building Blocks - AP Postman Collection & OAS Specification We created a Postman Collection and relative Open API Specification 3 (OAS3) for Anypoint Platform main resources: BGs, Users, Teams, Envs, VPC,... GitHub repository: https://github.com/mulesoft-consulting/cloudhub-automation-postman/
  • 10. CloudHub Automation Tool (CAT) Building Blocks - Anypoint Client Library We used an automated pipeline together with an Open API generator plugin to generate a Golang client called Anypoint Client Library to be used in Terraform as an abstraction layer to perform actions on the Anypoint Platform.
  • 11. CloudHub Automation Tool (CAT) Building Blocks - Delivery Cycle The delivery cycle is composed of 3 steps: 1. Pick one resource and understand how it works using tools like Postman, Anypoint documentation and your favorite browser's inspector. 2. Create the OAS3 specification. The specification should at least contain GET, POST and DELETE operations. Using the OAS spec, a go module will be automatically generated. 3. Implement the resource and related data sources in the provider using the generated library.
  • 12. What is Terraform? A tool for building, changing and versioning infrastructure safely and efficiently. CloudHub Automation Tool (CAT)
  • 13. Terraform Provider deep dive We used Terraform together with the Anypoint Client Library as an abstraction layer to perform actions on Anypoint Platform. CloudHub Automation Tool (CAT) Terraform Core Plugins Mulesoft APIs Anypoint Provider RPC Client Library Golang HTTPS
  • 14. Terraform Official Registry We released the first Terraform Anypoint Platform’s Provider on Terraform Official Registry Terraform provider: https://registry.terraform.io/providers/mulesoft-anypoint/anypoint/latest CloudHub Automation Tool (CAT)
  • 15. How to contribute ● Try the tool yourself and give us a feedback/report an issue on the project’s GitHub repository. ● Write OAS3 specifications for missing resources. ● Implement resources/data sources in the provider. CloudHub Automation Tool (CAT) Resources Anypoint Postman Collection: https://github.com/mulesoft-consulting/anypoint-automation-postman Anypoint Client Go: https://github.com/mulesoft-consulting/anypoint-client-go Anypoint Terraform Provider: https://github.com/mulesoft-consulting/terraform-provider-anypoint
  • 16. Demo
  • 18. Migration of API ecosystem to MuleSoft Platform ● Business needs: migrate a very large set of APIs from a legacy system to Anypoint Platform, to increase delivery, cost reduction, increase both efficiency and effectiveness, more control of the entire lifecycle of APIs ecosystem. ● Use the assets available in the MuleSoft’ developer portal to automate creation and configuration of migrated APIs to the Anypoint Platform ● Business results: 100 APIs/days migrated for 3 environments, reduce time and effort to manage API ecosystem, low impact on production activities API Proxy management Resources MuleSoft’s developer portal: https://anypoint.mulesoft.com/exchange/portals/anypoint-platform
  • 19. Implementation steps The reusable assets in the Developer Portal allows to fully automate all the required tasks to create, configure, instantiate and monitor APIs. Steps are executed sending REST requests to different components of the architecture platform. Each component exposes services to fully manage the scope it has the ownership of. ● Access Management: allow accesses to the platform, managing grants and roles. ● API Manager: creation, configuration and monitoring of APIs ● Proxies and Runtime Manager: API client instantiation and execution API Proxy management
  • 20. Migration process ● Extraction of API information from legacy systems (configuration, ownership, endpoints, policies, …) ● Select APIs to be migrate and complete missing information (delete duplicates, drop unuseful, identify items without owner, ...) ● Run automation tool in test environment for a handable subset of APIs, to identify and solve migration issues. ● Test of the full API lifecycle in the Anypoint Platform (accesses, policy application, monitoring, …) making some tuning ● Migration of the overall large set of APIs for development, quality and production environments API Proxy management
  • 21. Tool execution ● Get access token ● Get environment information (organization and environment ids, TLS context ids, provider id, available policies, ...) ● For each entry: - Create a REST API asset in the Exchange (if it doesn’t exist yet) - Create an API instance in the Exchange from API asset - Applying default policies to all APIs, then apply specific policy at each API. - Deploy proxy applications into Runtime Manager - Create client applications to get client IDs and secrets API Proxy management
  • 22. Demo
  • 23. Q&A
  • 26. 26 ● Share: ○ Tweet using the hashtag #MuleSoftMeetups ○ Invite your network to join: https://meetups.mulesoft.com/rome/ ● 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?