Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf

Giuliano17 150 views 26 slides Jun 05, 2024
Slide 1
Slide 1 of 26
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26

About This Presentation

Quattordicesimo Meetup di Milano, tenutosi a Milano il 23 Maggio 2024 dalle ore 17:00 alle ore 18:30 in presenza e da remoto.
Abbiamo parlato di come Axpo Italia S.p.A. ha ridotto il technical debt migrando le proprie APIs da Mule 3.9 a Mule 4.4 passando anche da on-premises a CloudHub 1.0.


Slide Content

Axpo -Internal
Rocco Alessandro Scaiano –Integration Architect (Axpo Italia)
Alessandro Schenone –Integration Team Leader (Axpo Italia)
23/05/2024
MILANO MuleSoft Meetup Group
#14
Axpo Italia: Migration from Mule3 (On-prem) to Mule4
(On-cloud)

Axpo -Internal
2
MILANO MULESOFT MEETUP #14
Speakers
Caterina Bonanno Giacomo Bartoloni
Organizers
Rocco Alessandro
Scaiano
Alessandro Schenone
Lorenzo LupelliGonzalo Marcos

Axpo -Internal
3
●Intro
●Migration overview
●Migration approach
●Q&A
Agenda

All contents © MuleSoft, LLC
Axpo -Internal
INTRO
Axpo Italia’s speakers

Axpo -Internal
5
●Axpo Italia’s speakers
○Rocco Alessandro Scaiano (Integration Architect)
○4x Certifications in MuleSoft with technical background in microservices projects in different functional areas
(Energy, Bank and Insurance).
○Managing the technology migration project as Integration Architect in Axpo Italia.
○Alessandro Schenone (Integration Team Leader)
○More than 20 years of experience in integration, with a technical background in SOA and microservices projects.
○In Axpo Italia he has found a modern company where both employees and technological improvements are valued.
Introductions

Axpo -Internal
6
●Migration overview
○Landscape
○Objectives
●Migration approach
○Migration Plan
○MMA
○Speed up development and normalization
○DLB and Mapping Rules
○Security Policies
○Technical and Functional monitoring
Contents

All contents © MuleSoft, LLC
Axpo -Internal
Migration introduction
What is the migration project?
What are the objectives of the migration?

All contents © MuleSoft, LLC
Axpo -Internal
Runtime 3.9.x (on-prem)
to 4.4.x (on-cloud)
~ 170 flows in 50
applications
More than 35 external
systems
Overview
8

All contents © MuleSoft, LLC
Axpo -Internal
Migrate infrastructure in
Cloud
Improve:
●Performance
●Reliability
●Normalization
●Discoverability
Improve observability Improve security
Objectives
9
Make the migration
«invisible» for business
and external systems

All contents © MuleSoft, LLC
Axpo -Internal
Migration approach
What kind of approach was used?
How were the objectives met?

All contents © MuleSoft, LLC
Axpo -Internal
Migrate infrastructure in
Cloud
Objectives
11
Improve:
●Performance
●Reliability
●Normalization
●Discoverability
Make the migration
«invisible» for business
and external systems
Improve observability Improve security

All contents © MuleSoft, LLC
Axpo -Internal
Migration Plan
Functional Migration Planning Infrastructure Migration
●Subdivision of flows into
functional streams
●Migration planning
●Internal VMQ (Sync) ??????REST
●Internal VMQ (Async) ??????AMQ
●VPC and VPN
12

All contents © MuleSoft, LLC
Axpo -Internal
Migrate infrastructure in
Cloud
Objectives
13
Improve:
●Performance
●Reliability
●Normalization
●Discoverability
Make the migration
«invisible» for business
and external systems
Improve observability Improve security

All contents © MuleSoft, LLC
Axpo -Internal
MMA
Mule Migration Assistant
(MMA)
●Documentation:
https://help.salesforce.com/s/ar
ticleView?id=001122239&type=1
●Repository:
https://github.com/mulesoft/mu
le-migration-assistant
14
Flows refactoring
●Improve performance
●Improve reliability
Infrastructure migration
●From On-premises to On-cloud
●Remove VMQ
Why did Axpo Italia not use MMA?

All contents © MuleSoft, LLC
Axpo -Internal
Commons Library CI/CD
Speed up development and normalization
●RAML Fragments
●Mule Plugin (a.d.
Custom logger
component)
●Recovery flow
●Pipeline release
Project Templates
●RAML
●Mule project
●Documentation
15

All contents © MuleSoft, LLC
Axpo -Internal
Migrate infrastructure in
Cloud
Objectives
16
Improve:
●Performance
●Reliability
●Normalization
●Discoverability
Improve observability Improve securityMake the migration
«invisible» for business
and external systems

All contents © MuleSoft, LLC
Axpo -Internal
DLB and Mapping Rules
●Keep same input/output for each flow to
avoid regression problems
●The external system must update the host but
not the endpoints
GET https://NewHost/v1/contatti
GET /v1/contatti GET /v1/contacts
Runtime 3.9
On-premises
Runtime 4.4
In-Cloud
GET https://OldHost/v1/contatti
NB.
The endpoints with URI params cannot be mapped correctly
/v1/contatti/{id} à /v1/contacts/{id} –KO
/v1/contatti à /v1/contacts –OK
The method cannot be mapped by DLB
POST/v1/contatti/{id}/search à GET/v1/contacts/{id} –KO
17

All contents © MuleSoft, LLC
Axpo -Internal
Migrate infrastructure in
Cloud
Objectives
18
Improve:
●Performance
●Reliability
●Normalization
●Discoverability
Improve observability Improve securityMake the migration
«invisible» for business
and external systems

All contents © MuleSoft, LLC
Axpo -Internal
Security Policies with API Manager
1.Use enterprise authentication
JWT Validation policy
2.Isolate applications
3.Validate the clients
Client Id enforcement policy
4.Next steps:
Validate the consumers
Client Id enforcement as Automated
Policy
Exp.
Proc.
Sys.
19

All contents © MuleSoft, LLC
Axpo -Internal
Migrate infrastructure in
Cloud
Objectives
20
Improve:
●Performance
●Reliability
●Normalization
●Discoverability
Improve observability Improve securityMake the migration
«invisible» for business
and external systems

All contents © MuleSoft, LLC
Axpo -Internal
Technical and functional Monitoring
●Technical monitoring using Anypoint
Monitoring (custom Dashboard)
●Functional Monitoring using ELK Stack
Anypoint Monitoring ELK
21
AMS
Developers
Business

All contents © MuleSoft, LLC
Axpo -Internal
Migrate infrastructure in
Cloud
Objectives
22
Improve:
●Performance
●Reliability
●Normalization
●Discoverability
Improve observability Improve securityMake the migration
«invisible» for business
and external systems

All contents © MuleSoft, LLC
Axpo -Internal
23
Q&A
Domande?

Axpo -Internal
Diventa il prossimo Meetup Speaker!
●Condividi un argomento che può essere interessante
all’indirizzo email [email protected]
●Sceglieremo la proposta più originale
24

All contents © MuleSoft, LLC
Axpo -Internal
Contattaci all’indirizzo [email protected]
Hai ancora domande e vuoi
approfondire in separata sede?
Invia il tuo feedback
Finito l’evento riceverai una e-mail per inviare il tuo
feedback: facci sapere con precisione quali sono i
topic che ti piacerebbe approfondire insieme!
We Are Hiring!

All contents © MuleSoft, LLC
Axpo -Internal
Thank you