# Image Migration to Google Cloud Platform

DevFeed: [Image Migration to Google Cloud Platform](<https://devfeed.tech/articles/image-migration-to-google-cloud-platform-28045.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/2024-05-14-image-migration-to-gcp/>)

Author: Praneeth Peiris I want

Published: 2024-05-14T00:00:00Z

Content type: article

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [cloud-migration](<https://devfeed.tech/topics/cloud-migration.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Image](<https://devfeed.tech/topics/image.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [data migrations](<https://devfeed.tech/topics/data-migrations.md>), [data gravity](<https://devfeed.tech/topics/data-gravity.md>), [Cloud Dataflow](<https://devfeed.tech/topics/cloud-dataflow.md>)

Tags: [amazon-web-services](<https://devfeed.tech/tags/amazon-web-services.md>), [apache](<https://devfeed.tech/tags/apache.md>), [apache-spark](<https://devfeed.tech/tags/apache-spark.md>), [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [aws](<https://devfeed.tech/tags/aws.md>), [backend](<https://devfeed.tech/tags/backend.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-architecture](<https://devfeed.tech/tags/cloud-architecture.md>), [cloud-platform](<https://devfeed.tech/tags/cloud-platform.md>), [cloud-storage](<https://devfeed.tech/tags/cloud-storage.md>), [environments](<https://devfeed.tech/tags/environments.md>), [google](<https://devfeed.tech/tags/google.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [google-cloud-platform](<https://devfeed.tech/tags/google-cloud-platform.md>), [image](<https://devfeed.tech/tags/image.md>), [image-migration](<https://devfeed.tech/tags/image-migration.md>), [images](<https://devfeed.tech/tags/images.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [migration](<https://devfeed.tech/tags/migration.md>), [multiple](<https://devfeed.tech/tags/multiple.md>)

## AI overview

trivago completed a roughly year-and-a-half redesign of its image infrastructure, consolidating processing on Google Cloud Platform after earlier migrations left systems split across its data centre and AWS. A direct lift-and-shift was impractical: image files and ID generation remained on AWS, moving the files at once was costly, and teams depended on existing databases and IDs. The final effort began with stakeholder requirements and API schema agreements, adopted managed MySQL and batch Apache Beam pipelines, and stored images in Google Cloud Storage behind a CDN. Teams aligned Kafka schemas while consumer pipelines were built independently. Staged testing and production rollout included A/B testing; the article reports main-image changes reaching trivago in seconds instead of about a day. Its lessons include starting with shared foundations, reassessing architecture before migration, choosing patterns for actual needs (Kinesis-to-Lambda had increased cost and slowed work), and documenting responsibilities and requirements.

## Source excerpt

Migration projects can be hard, especially when we were not around when the original projects were built. We migrated our images infrastructure to Google Cloud which was spread across multiple environments and here is how we did that.