{"id":17194,"date":"2022-11-30T12:30:00","date_gmt":"2022-11-30T12:30:00","guid":{"rendered":"http:\/\/63874efa7e21a1001d46d126"},"modified":"2025-01-07T04:38:53","modified_gmt":"2025-01-07T03:38:53","slug":"multipurpose-cloud-migration-nodejs","status":"publish","type":"post","link":"https:\/\/dassiorleando.com\/fr\/multipurpose-cloud-migration-nodejs\/","title":{"rendered":"Multipurpose Cloud Migration Strategy for NodeJS Projects"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"introduction\">Introduction<\/h2>\n\n\n\n<p>Moving to a Cloud has become a non-neglected approach for any company that anticipates growth, service continuity, and security while improving its operation experience, therefore reducing certain costs to a specific extent.<\/p>\n\n\n\n<p>In this article, we are covering a flexible approach that makes it possible to move your NodeJS projects and\/or services to the Cloud with minimal effort. Started from a single code monolithic App therefore broken into independent and scalable modules\/services deployable in the Cloud.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>The <strong>YouTube Channels<\/strong> in both English (En) and French (Fr) are now accessible, feel free to subscribe by clicking <a href=\"https:\/\/www.youtube.com\/@numericaideas\/channels?sub_confirmation=1\">here<\/a>.<\/p>\n<\/blockquote>\n\n\n<div class=\"vlp-link-container vlp-layout-basic wp-block-visual-link-preview-link\"><a href=\"https:\/\/www.youtube.com\/@numericaideas\/channels?sub_confirmation=1\" class=\"vlp-link\" title=\"Numerica Ideas\" rel=\"nofollow\" target=\"_blank\"><\/a><div class=\"vlp-layout-zone-side\"><div class=\"vlp-block-2 vlp-link-image\"><img decoding=\"async\" src=\"https:\/\/yt3.googleusercontent.com\/klwPa3fnccvxnvUjmfGmcdJDeX8J7BMbRraxiH69WeLx6qr3fQdxYSGN37vKE4jBCqGX5pZCgQ=s900-c-k-c0x00ffffff-no-rj\" style=\"max-width: 150px; max-height: 150px\" \/><\/div><\/div><div class=\"vlp-layout-zone-main\"><div class=\"vlp-block-0 vlp-link-title\">Numerica Ideas<\/div><div class=\"vlp-block-1 vlp-link-summary\">NumericaIdeas is a technical community that creates opportunities for IT professionals, where you\u2019ll secure your dream job, and indeed the group through which you can develop your hard and soft skills at your own pace. Our motto is \u201cDiscover, Learn, Build, &amp; Share\u201d \ud83d\ude80 \ud83d\udca1 La cha\u00eene est aussi disponi\u2026<\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"the-simplicity-of-nodejs\">The Simplicity of NodeJS<\/h2>\n\n\n\n<p><a href=\"https:\/\/nodejs.org\/en\/\">NodeJS<\/a> is a JavaScript backend runtime environment that has been mostly adopted by developers and companies because it enables developers to start writing, within the same project, almost the same code not only on the frontend but also on the backend to fully enjoy a Full-Stack JS experience.<\/p>\n\n\n\n<p>Nowadays, it\u2019s amongst the top backend platforms used for small, medium, and large infrastructures for software development so a proper Cloud Migration strategy should be kept in mind regardless of what we are building.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"cloud-migration-strategies\">Cloud Migration Strategies<\/h2>\n\n\n\n<p>Approaches put in place to safely move to the Cloud should be part of a well-defined and thoughtful plan that fits the needs of the project or company, this might differ from one team\/company to another depending on the problems they are solving (in their priority list) and the third party involved. It\u2019s possible at the same time to adopt multiple strategies or to keep using one while having the gate opened to jump to another with the least possible effort. Let\u2019s focus on <strong>Rehosting <\/strong>aka <strong>lift-and-shift<\/strong> and <strong>Replatforming <\/strong>aka<strong> lift-tinker-and-shift<\/strong>, more of these are described in this <a href=\"https:\/\/aws.amazon.com\/blogs\/enterprise-strategy\/6-strategies-for-migrating-applications-to-the-cloud\/\">article<\/a> by <strong>Stephen Orban<\/strong> that first appeared in <strong><a href=\"https:\/\/aws.amazon.com\/blogs\/enterprise-strategy\/\">AWS Cloud Enterprise Strategy Blog.<\/a><\/strong><\/p>\n\n\n\n<p>Initially, it started with the easiest lift-and-shift strategy where we simply moved the monolith App to an <strong>EC2<\/strong> with its <strong>API<\/strong> being served via an <strong>Nginx<\/strong> server. Next, the team started some reorganization, mastering <a href=\"https:\/\/youtu.be\/0II0ikOZEYE\">Clouds Concepts<\/a>, and started breaking the App to have independent modules that do very specific tasks\/features by making the main App even more stateless. By doing so, we ended up with a <strong>NodeJS microservice template<\/strong> that seems convenient for cloud migrations still with the idea in mind to perform on-premise deployments whenever we want to revert from the cloud migration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sample-nodejs-architecture\">Sample NodeJS Architecture<\/h2>\n\n\n\n<p>Not only for illustration purposes but this approach has been used while accompanying many companies to quickly migrate their production NodeJS services to the cloud before developing their expertise on it for further improvements.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"high-level-architecture\">High-Level Architecture<\/h3>\n\n\n\n<p><strong>AWS<\/strong> has been chosen for this example, but the idea behind is replicable to many other Cloud providers and even for On-Premise infrastructures, that\u2019s why we consider this to be a multi-purpose migration strategy for <strong>NodeJS<\/strong> Apps, here\u2019s what the high-level architecture diagram looks like:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2022\/12\/nodejs-cloud-migration-architecture-1.png\" alt=\"Multipurpose Cloud Migration Strategy for NodeJS Projects\"\/><figcaption class=\"wp-element-caption\">High-level architecture diagram<\/figcaption><\/figure>\n\n\n\n<p>In this architecture, a set of services are involved to materialize a micro-services environment (not at its full capacity) in which <strong>NodeJS<\/strong> Apps are deployed either as <strong>Lambda functions<\/strong> or as normal <strong>server Apps<\/strong>.<\/p>\n\n\n\n<p>The code has been improved just a bit to be able to support Lambda deployment to the already existing server, which is related to running different starter files to start the App, respectively <strong>lambda.js<\/strong> and <strong>server.js<\/strong>. The full source code is available on <a href=\"https:\/\/github.com\/numerica-ideas\/ni-microservice-nodejs\">GitHub<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configurations\">Configurations<\/h3>\n\n\n\n<p>Regardless of the way each service is deployed, a kind of custom service discovery\/configuration is present to know more about services at runtime. When deploying, the service specifies the mode in which it got deployed by setting a value in the cache (ElasticCache or Custom Redis).<\/p>\n\n\n\n<p>Very soon, the need to centralize the configurations arose, <a href=\"https:\/\/docs.chef.io\/workstation\/knife\/\">Knife<\/a> was the top option but we finally opted to use a simple private (soon to be encrypted) <a href=\"https:\/\/aws.amazon.com\/s3\/\">AWS S3<\/a> bucket for simplicity even though it\u2019s an intermediate choice.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"services-communication\">Services Communication<\/h3>\n\n\n\n<p>As illustrated up here, the services communication is handled by two main protocols; the popular and trivial <strong>Rest API<\/strong> way and by using asynchronous notification channels (Redis\/SNS pub and sub). The project is built to listen to specific channels depending on its relations with other deployed services\/modules or third parties.<\/p>\n\n\n\n<p>If deployed as a <strong>Lambda function (re-platforming)<\/strong>, <a href=\"https:\/\/aws.amazon.com\/sns\/\">AWS SNS<\/a> is used to send asynchronous notifications to other deployed services and <a href=\"https:\/\/docs.aws.amazon.com\/AmazonCloudWatch\/latest\/events\/ScheduledEvents.html\">scheduled events<\/a> (sometimes <a href=\"https:\/\/aws.amazon.com\/batch\/\">AWS Batch<\/a> with pre-built Docker images) are the cron jobs runner.<\/p>\n\n\n\n<p>On the contrary, in a <strong>server (re-hosting)<\/strong> mode, <a href=\"https:\/\/redis.io\/docs\/manual\/pubsub\/\">Redis Pub\/Sub<\/a> is at the command for services notifications while the package <a href=\"https:\/\/www.npmjs.com\/package\/node-cron\"><strong>node-cron<\/strong><\/a> handles cron jobs at a small scale.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"cache\">Cache<\/h3>\n\n\n\n<p>Redis is used as the services\u2019 caching server regardless of the deployment strategies, we started with a single-node <strong>ElastiCache<\/strong> cluster till we noticed more is needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"database\">Database<\/h3>\n\n\n\n<p>In this particular setup, we first moved out the database from the same machine as the server code, so the App would be more independent and stateless. We were able to run the databases either on MongoDB Atlas service (recommended) within a VPC or by deploying and managing custom ones within <a href=\"https:\/\/aws.amazon.com\/ec2\/\">AWS EC2<\/a> instances, the On-premise approach could also work since we are thriving to build a hybrid architecture that solves our problems, but that comes with other maintenance\/management costs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"file-storage\">File Storage<\/h3>\n\n\n\n<p>Still in the path of making the server App lightweight enough and stateless, <strong>AWS S3<\/strong> is being used for image\/video storage, not via a direct integration but by using another small service built for the migration with everything put in place to work either on-premises or runnable no matter the cloud provider since it\u2019s flexible enough and has an interface to change the storage service whenever needed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"emailing\">Emailing<\/h3>\n\n\n\n<p>Breaking the initial code base into reusable modules was one of the first decisions we made to accomplish the desired result, it resulted in having a separate service that handles email sending by using any providers as the implementation details. <a href=\"https:\/\/aws.amazon.com\/ses\/\">AWS SES<\/a> is used for our migration purposes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"security\">Security<\/h3>\n\n\n\n<p>It\u2019s important to adopt a decentralized security mechanism for a decentralized architecture or at least have proper integration patterns to make it work flawlessly amongst your components. <a href=\"https:\/\/jwt.io\/\">JWT<\/a> was present already so we kept it, once we reached that level where all our components were deployed in the Cloud, we opted to use an <a href=\"https:\/\/aws.amazon.com\/vpc\/\">isolated network (AWS VPC)<\/a> to deploy these and made the necessary changes in our CI\/CD pipelines, without putting in place other <a href=\"https:\/\/docs.aws.amazon.com\/IAM\/latest\/UserGuide\/best-practices.html\">security best practices<\/a> gradually.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"monitoring\">Monitoring<\/h3>\n\n\n\n<p>Once you deploy your Lambdas, some default metrics are saved on CloudWatch to help you know how your functions perform over time, it includes and is not limited to: invocations, duration, error count, throttles, concurrent executions \u2026 etc.<\/p>\n\n\n\n<p>Another important factor is the ability to programmatically <a href=\"https:\/\/docs.aws.amazon.com\/AmazonCloudWatch\/latest\/monitoring\/publishingMetrics.html\">publish custom metrics<\/a> via the SDK to AWS CloudWatch at runtime depending on what we desire to track or by using a simple console log that respects the <a href=\"https:\/\/docs.aws.amazon.com\/AmazonCloudWatch\/latest\/monitoring\/CloudWatch_Embedded_Metric_Format_Specification.html\">embedded metric format<\/a> specification.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"technical-considerations\">Technical Considerations<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/github.com\/numerica-ideas\/ni-microservice-nodejs\">project<\/a> started as a basic NodeJS service in which we added more features to facilitate cloud migrations, it includes the following present in the <a href=\"https:\/\/github.com\/numerica-ideas\/ni-microservice-nodejs#readme\">README<\/a> file:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>TypeScript<\/strong> is being used for development within the <strong>src<\/strong> folder, later compiled to vanilla <strong>JavaScript<\/strong> (into the <strong>bin<\/strong> folder) prior to deployments.<\/li>\n\n\n\n<li>Running it locally or within a custom server is done as usual with <code>npm start<\/code>.<\/li>\n\n\n\n<li><a href=\"https:\/\/claudiajs.com\/\"><strong>ClaudiaJS<\/strong><\/a>, the tool at the center of the deployment procedures makes it easy to perform new Lambda deployments of the App\/service with a single command for each of our environments: npm run deploy:dev or npm run deploy:prod, before that, we should create it for the first time by using <code>npm run create<\/code>.<\/li>\n\n\n\n<li>During each deployment, a copy of the App is saved in <strong>ni-deployments<\/strong> bucket defined as <strong>\u201cuse-s3-bucket\u201d<\/strong> parameter, this could be used for compliance and other verification purposes.<\/li>\n\n\n\n<li>If deployed as a Lambda function, some <a href=\"https:\/\/aws.amazon.com\/blogs\/compute\/operating-lambda-performance-optimization-part-1\/\">warmers<\/a> should be put in place to keep our functions hot, we do so by running the script <code>npm run job:warm:env<\/code> (where env is either <strong>dev<\/strong> or <strong>prod<\/strong> in our context) by updating the <strong>warm.json<\/strong> file to have multiple distinct warmers (we felt covered with 5). Another solution is to take advantage of <a href=\"https:\/\/aws.amazon.com\/blogs\/aws\/new-provisioned-concurrency-for-lambda-functions\/\">Provisioned Concurrency<\/a> which seems more efficient but is expensive.<\/li>\n\n\n\n<li>Similar to the precedent point, enabling the function to subscribe to some specific <strong>SNS<\/strong> topics is possible first by defining the targeted topics in the <strong>policy.json<\/strong> file, it should match with the variable <code>Constant.Events<\/code> in used by Redis still for pub\/sub pattern and then running <code>npm run sns:env<\/code>.<\/li>\n\n\n\n<li>At the deployment stage, the environment variables are fetched from a specific <strong>bucket<\/strong> accessible via the script <code>npm run get-vars:env<\/code> and saved in <code>env.json<\/code> which will then be used to deploy the function. The command <code>npm run set-vars:env<\/code> does the inverse, takes env.json, and pushes it to the configuration bucket that you can change in the <strong>package.json<\/strong> file.<\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/ExpressGateway\/express-gateway\">Express-gateway<\/a> is used in local development and serves as an API Gateway to the other services while the production deployment is run on top of AWS API Gateway. This means the developers have to start their services by using the suggested <a href=\"https:\/\/github.com\/numerica-ideas\/ni-microservice-nodejs\">template<\/a> that we built, and then update their gateway <a href=\"https:\/\/www.express-gateway.io\/docs\/configuration\/gateway.config.yml\/apiEndpoints\/\">configurations<\/a> for the API endpoint redirections to work as expected.<\/li>\n\n\n\n<li>The <strong>CI\/CD<\/strong> pipeline is implemented using <a href=\"https:\/\/docs.gitlab.com\/ee\/ci\/\"><strong>Gitlab CI<\/strong><\/a>, and the corresponding <a href=\"https:\/\/github.com\/numerica-ideas\/ni-microservice-nodejs\/blob\/master\/.gitlab-ci.yml\">configuration file<\/a> is located in the root folder.<\/li>\n<\/ul>\n\n\n\n<p>In case you would like to run that App&#8217;s scripts from your computer, you have to configure the AWS CLI and the following article points out exactly that:<\/p>\n\n\n<div class=\"vlp-link-container vlp-layout-basic wp-block-visual-link-preview-link\"><a href=\"https:\/\/numericaideas.com\/blog\/configure-aws-cli\/\" class=\"vlp-link\" title=\"How to Configure AWS CLI for Multi-Account Strategy\" rel=\"nofollow\" target=\"_blank\"><\/a><div class=\"vlp-layout-zone-side\"><div class=\"vlp-block-2 vlp-link-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2023\/04\/how-to-configure-aws-cli-for-multi-account-strategy-1-min.png\" style=\"max-width: 150px; max-height: 150px\" \/><\/div><\/div><div class=\"vlp-layout-zone-main\"><div class=\"vlp-block-0 vlp-link-title\">How to Configure AWS CLI for Multi-Account Strategy<\/div><div class=\"vlp-block-1 vlp-link-summary\">In this article, we will go through the steps to configure AWS CLI for multiple accounts on your local machine or any server with Terminal access.<\/div><\/div><\/div>\n\n\n<p>By following the server deployment approach while scaling the services horizontally using <a href=\"https:\/\/aws.amazon.com\/autoscaling\/\">ASG<\/a>, we should make sure that there are no duplicates of <strong>Redis pub\/sub<\/strong> subscriptions&#8217; handlers by adding custom logic or simply covering that need differently.<\/p>\n\n\n\n<p>To cover more technical aspects, the <strong>CI\/CD pipelines<\/strong> have been designed, built, and documented in the following article:<\/p>\n\n\n<div class=\"vlp-link-container vlp-layout-basic wp-block-visual-link-preview-link\"><a href=\"https:\/\/numericaideas.com\/blog\/easiest-gitlab-cicd-lambda-pipeline\/\" class=\"vlp-link\" title=\"Easiest GitLab CI\/CD Lambda Pipeline\" rel=\"nofollow\" target=\"_blank\"><\/a><div class=\"vlp-layout-zone-side\"><div class=\"vlp-block-2 vlp-link-image\"><img decoding=\"async\" src=\"https:\/\/assets.numericaideas.com\/2022\/12\/Easiest-GitLab-CICD-Lambda-Pipeline-1-min.png\" style=\"max-width: 150px; max-height: 150px\" \/><\/div><\/div><div class=\"vlp-layout-zone-main\"><div class=\"vlp-block-0 vlp-link-title\">Easiest GitLab CI\/CD Lambda Pipeline<\/div><div class=\"vlp-block-1 vlp-link-summary\">Quickly build, test, and deploy NodeJS and Python Lambda functions using GitLab CI\/CD with either ClaudiaJS, Chalice, or the Serverless framework.<\/div><\/div><\/div>\n\n\n<p>Also, we strongly recommend <a href=\"https:\/\/explore.skillbuilder.aws\/learn\">AWS Skill Builder<\/a> as a go-to resource to improve your AWS Cloud skills, it&#8217;s well-structured and practical.<\/p>\n\n\n\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n\n\n\n<p>We have just started our journey to build a network of professionals to grow even more our free knowledge-sharing community that\u2019ll give you a chance to learn interesting things about topics like cloud computing, software development, and software architectures while keeping the door open to more opportunities.<\/p>\n\n\n\n<p>Does this speak to you? If <strong>YES<\/strong>, feel free to <a href=\"https:\/\/discord.numericaideas.com\">Join our Discord Server<\/a> to stay in touch with the community and be part of independently organized events.<\/p>\n\n\n\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n\n\n\n<p>If the <strong>Cloud<\/strong> is of interest to you this <a href=\"https:\/\/www.youtube.com\/watch?v=0II0ikOZEYE\">video<\/a> covers the 6 most I<strong>mportant Concepts<\/strong> you should know about it<strong>:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Important Cloud Computing Concepts in 8 minutes\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/0II0ikOZEYE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>","protected":false},"excerpt":{"rendered":"<p>Flexible Cloud migration strategy for NodeJS projects on AWS that also works on custom servers, from a monolith block to microservices.<\/p>","protected":false},"author":2,"featured_media":18734,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70,61],"tags":[62,38,56],"class_list":["post-17194","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-architecture","category-backend","tag-aws","tag-nodejs","tag-solutions-architecture"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Multipurpose Cloud Migration Strategy for NodeJS Projects<\/title>\n<meta name=\"description\" content=\"Flexible Cloud migration strategy for NodeJS projects on AWS that also works on custom servers, from a monolith block to microservices.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Multipurpose Cloud Migration Strategy for NodeJS Projects\" \/>\n<meta property=\"og:description\" content=\"Flexible Cloud migration strategy for NodeJS projects on AWS that also works on custom servers, from a monolith block to microservices.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/\" \/>\n<meta property=\"og:site_name\" content=\"Orleando Dassi\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-30T12:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-07T03:38:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1366\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Orl\u00e9ando Dassi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dassiorleando\" \/>\n<meta name=\"twitter:site\" content=\"@dassiorleando\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Orl\u00e9ando Dassi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dassiorleando.com\/multipurpose-cloud-migration-nodejs\/\"},\"author\":{\"name\":\"Orl\u00e9ando Dassi\",\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"headline\":\"Multipurpose Cloud Migration Strategy for NodeJS Projects\",\"datePublished\":\"2022-11-30T12:30:00+00:00\",\"dateModified\":\"2025-01-07T03:38:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dassiorleando.com\/multipurpose-cloud-migration-nodejs\/\"},\"wordCount\":1878,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"image\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png\",\"keywords\":[\"AWS\",\"NodeJS\",\"Solutions Architecture\"],\"articleSection\":[\"Architecture\",\"Backend\"],\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dassiorleando.com\/multipurpose-cloud-migration-nodejs\/\",\"url\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/\",\"name\":\"Multipurpose Cloud Migration Strategy for NodeJS Projects\",\"isPartOf\":{\"@id\":\"https:\/\/dassiorleando.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png\",\"datePublished\":\"2022-11-30T12:30:00+00:00\",\"dateModified\":\"2025-01-07T03:38:53+00:00\",\"description\":\"Flexible Cloud migration strategy for NodeJS projects on AWS that also works on custom servers, from a monolith block to microservices.\",\"breadcrumb\":{\"@id\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage\",\"url\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png\",\"contentUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png\",\"width\":1366,\"height\":768,\"caption\":\"Multipurpose and Robust Enough Cloud Migration Strategies for NodeJS Projects\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dassiorleando.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Multipurpose Cloud Migration Strategy for NodeJS Projects\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dassiorleando.com\/#website\",\"url\":\"https:\/\/dassiorleando.com\/\",\"name\":\"Orleando Dassi\",\"description\":\"My personal portfolio and resume\",\"publisher\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dassiorleando.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e\",\"name\":\"Orl\u00e9ando Dassi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp\",\"contentUrl\":\"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp\",\"width\":1643,\"height\":1747,\"caption\":\"Orl\u00e9ando Dassi\"},\"logo\":{\"@id\":\"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/\"},\"description\":\"I'm a Solutions Architect with 10 years of experience who is constantly learning while impacting the community by producing technical articles\/videos, building projects, and conducting tech mentoring\/coaching sessions. What describes me the most is my flexibility.\",\"sameAs\":[\"https:\/\/dassiorleando.com\/\",\"https:\/\/www.instagram.com\/dassiorleando\/\",\"https:\/\/www.linkedin.com\/in\/dassi-orleando-257b04ab\/\",\"https:\/\/x.com\/dassiorleando\",\"https:\/\/www.youtube.com\/@dassiorleando\"],\"url\":\"https:\/\/dassiorleando.com\/fr\/author\/dassiorleando\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Multipurpose Cloud Migration Strategy for NodeJS Projects","description":"Flexible Cloud migration strategy for NodeJS projects on AWS that also works on custom servers, from a monolith block to microservices.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/","og_locale":"fr_CA","og_type":"article","og_title":"Multipurpose Cloud Migration Strategy for NodeJS Projects","og_description":"Flexible Cloud migration strategy for NodeJS projects on AWS that also works on custom servers, from a monolith block to microservices.","og_url":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/","og_site_name":"Orleando Dassi","article_published_time":"2022-11-30T12:30:00+00:00","article_modified_time":"2025-01-07T03:38:53+00:00","og_image":[{"width":1366,"height":768,"url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png","type":"image\/png"}],"author":"Orl\u00e9ando Dassi","twitter_card":"summary_large_image","twitter_creator":"@dassiorleando","twitter_site":"@dassiorleando","twitter_misc":{"Written by":"Orl\u00e9ando Dassi","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#article","isPartOf":{"@id":"https:\/\/dassiorleando.com\/multipurpose-cloud-migration-nodejs\/"},"author":{"name":"Orl\u00e9ando Dassi","@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"headline":"Multipurpose Cloud Migration Strategy for NodeJS Projects","datePublished":"2022-11-30T12:30:00+00:00","dateModified":"2025-01-07T03:38:53+00:00","mainEntityOfPage":{"@id":"https:\/\/dassiorleando.com\/multipurpose-cloud-migration-nodejs\/"},"wordCount":1878,"commentCount":0,"publisher":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"image":{"@id":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage"},"thumbnailUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png","keywords":["AWS","NodeJS","Solutions Architecture"],"articleSection":["Architecture","Backend"],"inLanguage":"fr-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dassiorleando.com\/multipurpose-cloud-migration-nodejs\/","url":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/","name":"Multipurpose Cloud Migration Strategy for NodeJS Projects","isPartOf":{"@id":"https:\/\/dassiorleando.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage"},"image":{"@id":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage"},"thumbnailUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png","datePublished":"2022-11-30T12:30:00+00:00","dateModified":"2025-01-07T03:38:53+00:00","description":"Flexible Cloud migration strategy for NodeJS projects on AWS that also works on custom servers, from a monolith block to microservices.","breadcrumb":{"@id":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/"]}]},{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#primaryimage","url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png","contentUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2022\/11\/Multipurpose-and-Robust-Enough-Cloud-Migration-Strategies-for-NodeJS-Projects-min.png","width":1366,"height":768,"caption":"Multipurpose and Robust Enough Cloud Migration Strategies for NodeJS Projects"},{"@type":"BreadcrumbList","@id":"https:\/\/numericaideas.com\/blog\/multipurpose-cloud-migration-nodejs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dassiorleando.com\/"},{"@type":"ListItem","position":2,"name":"Multipurpose Cloud Migration Strategy for NodeJS Projects"}]},{"@type":"WebSite","@id":"https:\/\/dassiorleando.com\/#website","url":"https:\/\/dassiorleando.com\/","name":"Orleando Dassi","description":"My personal portfolio and resume","publisher":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dassiorleando.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":["Person","Organization"],"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/4862911e9cf93aa12f17875f7b7b1c5e","name":"Orl\u00e9ando Dassi","image":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/","url":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp","contentUrl":"https:\/\/dassiorleando.com\/wp-content\/uploads\/2025\/01\/Orleando-Dassi-Consultant-Quebec.webp","width":1643,"height":1747,"caption":"Orl\u00e9ando Dassi"},"logo":{"@id":"https:\/\/dassiorleando.com\/#\/schema\/person\/image\/"},"description":"I'm a Solutions Architect with 10 years of experience who is constantly learning while impacting the community by producing technical articles\/videos, building projects, and conducting tech mentoring\/coaching sessions. What describes me the most is my flexibility.","sameAs":["https:\/\/dassiorleando.com\/","https:\/\/www.instagram.com\/dassiorleando\/","https:\/\/www.linkedin.com\/in\/dassi-orleando-257b04ab\/","https:\/\/x.com\/dassiorleando","https:\/\/www.youtube.com\/@dassiorleando"],"url":"https:\/\/dassiorleando.com\/fr\/author\/dassiorleando\/"}]}},"_links":{"self":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/comments?post=17194"}],"version-history":[{"count":1,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17194\/revisions"}],"predecessor-version":[{"id":21674,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/posts\/17194\/revisions\/21674"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/media\/18734"}],"wp:attachment":[{"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/media?parent=17194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/categories?post=17194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dassiorleando.com\/fr\/wp-json\/wp\/v2\/tags?post=17194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}