Cloud Engineer
Cloud Engineer
Success Story:
Comprehensive cloud migration at the Swiss Federal Railways SBB
Industry
Transport
- Hardware maintenance expiration
- Standardized infrastructure service needed
- AWS expertise with swift operational support
- Complex DR due to hardware dependency
- Seamless transition to AWS
- Reduced human error via operations as code
- Enhanced disaster readiness with automated application setup
Challenge and solution approach
Precision, efficiency and safety are of the utmost importance in rail operations. Every maneuver, every decision hinges on accurate data and streamlined processes.
SBB’s Train Driver Electronic Assistant (LEA1) is a technical assistant for train drivers in Switzerland, used in freight and passenger transport as well as by several private railroads. The critical information provided by the app enables train drivers to carry out their work easily. The application providing this critical information had been running on hardware whose maintenance was due to expire. Maintenance was a major problem and the inevitable obsolescence of the hardware threatened operational continuity.
Dependence on the hardware therefore entailed considerable disadvantages. Hence, the “operations as code2” approach was chosen to reduce the time to operate and maintain the infrastructure for LEA’s messaging subsystem. The time required to set up the application from scratch was also drastically reduced thanks to IaC3.
Tools used for the operations as code approach
An architectural diagram of the environments in AWS
Solution
Careful planning:
Axians Amanox carefully crafted a plan to ensure migration without disruption to ongoing operations, moving the application to the cloud - specifically utilizing Amazon Web Services (AWS). During the smooth transition, hardware dependencies were eliminated, paving the way for improved scalability and resilience.
Capacity and scalability:
During the initial phase of the migration, EC24 instances were spun up to test the network capacity. This permitted the adoption of EC2 instances with higher network allowances5 to handle a high number of client requests from the production.
Automation of operations:
In addition, automating the application configuration allowed the operations team to set up the application from scratch for disaster recovery reasons. By adopting an Infrastructure as Code (IaC) approach, operations in the test, developmen and production environments were optimized and manual installation and configuration processes were eliminated.
Better Collaboration:
Furthermore, the control and management of the application version and certificates is now managed with Ansible (automation platform). This not only facilitated seamless collaboration within the operations team, but also enabled them to flexibly manage their infrastructure. Maintaining separate Git branches per environment minimized the impact radius, while committing changes only to the Bitbucket repository for AWS resources enabled effective change tracking and auditing.
Sustainability and efficiency:
We opted for this shared responsibility model instead of developing everything ourselves to make the solution sustainable Working with SBB‘s product owner, development team and AWS experts ensured alignment with objectives, adherence to SBB infrastructure standards and seamless execution throughout the project lifecycle. By complying with SBB infrastructure standards, we were able to reuse the services already provided by the internal teams, such as Unified OS or Jenkins, to avoid unnecessary duplication of effort.
Fine-tuning:
Using a proactive approach, Axians Amanox closely monitored the environment post-migration to ensure optimal performance and quickly resolved any issues. With CloudWatch Metrics, it is possible to observe advanced ENA metrics6 to check if the network allowances allowed for the EC2 instances are being exceeded and to scale the EC2 instances if necessary.
Tools & Technologies
IaC formed the backbone of our migration strategy, enabling automation and CD (continuous deployment) pipelines.
From AWS EC2 instances, Network Load Balancers (NLB) to CloudWatch, we harnessed the power of AWS to deliver.
Conclusion
About SBB – Swiss Federal Railways AG
1 https://de.wikipedia.org/wiki/Lokpersonal_Electronic_Assistant
2 Operational excellence https://docs.aws.amazon.com/wellarchitected/latest/operational-excellence-pillar/operational-excellence.html
3 https://en.wikipedia.org/wiki/Infrastructure_as_code
4 https://en.wikipedia.org/wiki/Amazon_Elastic_Compute_Cloud
5 https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-ec2-instance-level-network-performance-metrics-uncover-new-insights/
6 https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-network-performance-ena.html