《2152 AA Takes Flight with IBM Code Engine.pdf》由會員分享,可在線閱讀,更多相關《2152 AA Takes Flight with IBM Code Engine.pdf(14頁珍藏版)》請在三個皮匠報告上搜索。
1、October 21-24,2024Mandalay Bay Convention CenterLas Vegas,NevadaSession 2152:Session 2152:American Airlines Takes Flight American Airlines Takes Flight with IBM Cloud Code Enginewith IBM Cloud Code EngineBryan DCloud Solution ArchitectIBMRay HPrinciple ArchitectAmerican AirlinesAgenda010102020303040
2、4050506062BoardingBoarding-BackgroundTaxiingTaxiing-ArchitectureTakeoffTakeoff-DeployingCruisingCruising-Best PracticesLandingLanding-Whats NextDeplaneDeplane-Additional Resources3 Major US based airline headquartered in Dallas-Fort Worth,Texas Largest airline in the world(when measured by passenger
3、s carried)Approximately 6800 flights in a day 350 destinations in 48 countries 500,000 passengers daily/200 million passengers annually 130K Team MembersAmerican Airlines#IBMTechXchange4American Airlines Team Members Technology ServicesProvides application services used by all American Airlines Team
4、 Members world-wide View internal news,videos and events calanderSearch for travels bookingsAccess boarding passes and check-in to the flight(for Team Members)Desktop and native mobile clients#IBMTechXchange5Architecture Blueprint Major components of our overall architecture and end-to-end integrati
5、on.#IBMTechXchangeThe Challenge Why We Started to Look at ServerlessResource ConstraintsExperienced Java Developers with containers experience,but limited budget for managing clustersOverheard of managing Kubernetes clustersTime to MarketRelease in weeks not monthsRapid Deployment and TestingNeed Fl
6、exibility with SimplicityKubernetes provides a lot of power and flexibility(think of the number of knobs/dial in the cockpit of plane)Desire simplicity for code deployment and management(autopilot mode)6#IBMTechXchange7IBM Cloud and Code Engine Services We Decided to LeverageIBM Code Engine Applicat
7、ions in JavaEvent-driven workloadsJobs for caching and replicating contentDevelopment Pipeline support with Docker and GitHubConfigmap and SecretsKubernetes ScalePrivate workloadsContainer image registryIBM LoggingCloud MonitoringKey ProtectCloudant for application dataRedis for session cacheCloud O
8、bject Storage(COS)for Content data caching that is replicated across regionsCode Engine RuntimeDatabaseStorageInfrastructure#IBMTechXchange8Code Engine Deployment Characteristics Deciding how to deploy code:As an App,Job,or Function?#IBMTechXchange9Code Engine Deployment Architecture Build and Deplo
9、y from SourceGitHub ActionsTerraformHigh Availability Deployment#IBMTechXchangeCode Refactor10Migration To Code Engine Code Change Libraries Sequences Endpoints Build from Source App,Functions and Job Deployment Events Secrets DDoS Protection VPE SupportHarden DeploymentDeploy App/Job/FunctionEvent
10、Integrations#IBMTechXchange11Deploying Architecture/InfrastructureCode Build and Deploy from SourceDeploy/UpdateOnce infra is deployed,application teams take over and manages app deployment through their devOps process.Build and Deploy from SourceCompleted code will be pushed to American Airlines co
11、de repositoriesCodeCodeUpon finishing the build images will be pushed to American Airlines packages artifactoryHigh Availability DeploymentContainer RegistryCode Engine ProjectConfigure/Optimize#IBMTechXchange12Go Live Readiness:Testing and Additional TipsOur stories and lessons learned along the jo
12、urneyScalability TestingNo.Of Instances,Cool down,Autoscaling App DeploymentUse secrets and configmaps for flexibilityCICDLeverage deployment patterns and tooling(i.e.,Schematics)to ensure consistency across environments.Cloudant DRLeverage Read Replica Platform Logs and MetricsMonitor resource cons
13、umption of cloud services(i.e.,Redis).Custom DomainsLeverage custom domains possible but requires extra steps#IBMTechXchange13SummaryQuestions?American Airlines Team Members Technology Services apps.Needed to find a strategy for serverless cloud functions.Deployed on IBM Code Engine in VPC,which pro
14、vided simplicity of cloud functions combined with power of Kubernetes.Decide on deployment pattern:Application,Job,or Cloud Function Some code refactoring may be needed but leverage the built-in code deployment and containerization where possible.Leverage existing cloud services for monitoring and data persistence.#IBMTechXchange14Thank You!Bryan DanielBryan DCloud Solution ArchitectIBMRay Ray HudaihedHPrinciple ArchitectAmerican Airlines