Updating saas #456
Replies: 13 comments 36 replies
-
Hey @JaladJhamb , welcome! Can you provide a little more detail:
|
Beta Was this translation helpful? Give feedback.
-
hello @PoeppingT, yes I have got git installed locally and I was actually trying to update it as we are already using, so I am actually trying to update it to version 1.1.1 but as soon as I start updating it, it shows the above error and then comes back to the earlier version. |
Beta Was this translation helpful? Give feedback.
-
Hello @PoeppingT, |
Beta Was this translation helpful? Give feedback.
-
Thank you for the reply @PoeppingT. |
Beta Was this translation helpful? Give feedback.
-
@PoeppingT And as we onboard the application it creates a CloudFormation stack, but in this it is not even creating any so that is why I am unable to troubleshoot the issue. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much again @PoeppingT for replying.
|
Beta Was this translation helpful? Give feedback.
-
@JaladJhamb We'd need a little more detail on what you're doing and how you have things setup to be able to help. When you say you have "installed another SaaS" do you mean you have multiple SaaS Boost environments installed in a single AWS Account? Do you mean you have the same environment label installed in different AWS Regions in that same AWS Account? Do you mean you have some other product/software that you've setup in the AWS Account? When you refer to DynamoDB, are you referring to the SaaS Boost Tenant Service database? Have you created a different one? How was it created? Have you modified the Tenant Service codebase? When you say "provision the tenant's DB, cognito user pool, S3 bucket" it makes me think you're not using SaaS Boost for any of the application config/tenant onboarding/workload deployment features. That's absolutely fine, but we'd need to understand what you're trying to accomplish to best be able to help you. |
Beta Was this translation helpful? Give feedback.
-
Hello @JaladJhamb version 2 of SaaS Boost was released, it is not backward compatible with version 1. You will have to manually "migrate" your tenants from one install to another. First, install a clean version of SaaS Boost v2.x, then configure the application to support your workload. Push your docker image up to the new repo created by SaaS Boost and then you can onboard your tenants into the new install. You can give them the same name as you did in the prior version. It is up to you how to migrate any other data or metadata about your tenants. Has your v1 install of SaaS Boost been running in production? What other data are you concerned about migrating? |
Beta Was this translation helpful? Give feedback.
-
We would be happy to help you think through the manual steps to take to be able to migrate your production environment to the v2 line of SaaS Boost as it has a huge number of improvements over v1. Let us know what debugging turns up on your current v1 installation -- in particular make sure you have enough quota to onboard a new tenant (VPCs, ECS vCPU, etc...). |
Beta Was this translation helpful? Give feedback.
-
And @brtrvn as I see in the DyanmoDB tables of the old SaaS and the new SaaS there are multiple of values which are different and some values are even being removed and in our code we have actually mentioned many things which are now removed, like overridedefaults is there in old DynamoDB table which is being included even in the code and it is not there in the new table and most of the values are being nested into the new table which is creating issue for us, I was actually thinking to make my new table same as the older one |
Beta Was this translation helpful? Give feedback.
-
JaladJhamb - note that you do not have to tag Hari in your posts. He has not contributed to SaaS Boost in over a year. To answer your question, no, there is no documentation on how to migrate tenants from v1.x of SaaS Boost to v2.x. Every SaaS application is different and what it means to migrate a tenant from one set of resources to another is defined by that application. This is out of the scope of SaaS Boost. How would you move a tenant between installations of your application today? Does it have a database? Does it have a file system? Do you need to keep the audit logs? There are so many questions and variables that influence what it means for your application to migrate tenants, SaaS Boost cannot do that for you. From the SaaS Boost standpoint, I would probably follow a process that might include the following steps:
At this point your application should be configured for SaaS Boost v2 and you should have successful deployments for each of your onboarded tenants. Now you need to start the manual process of "migrating" tenant data from the other environment -- whatever that means to your application. Maybe you need to dump and restore databases? Maybe you need to migrate files from one file system to another? Maybe you need to export old logs to a flat file or into S3 so you can query them? Maybe there are other things you need to do? Once you've moved all your application requirements over, you can test the tenant environments using the AWS generated DNS entries for the load balancers and make sure everything is working properly. After all testing is complete, you can configure DNS in the new v2 installer by setting you application's domain name and update the subdomain for the tenants and "flip the switch" from the old setup to the new. |
Beta Was this translation helpful? Give feedback.
-
Hello @PoeppingT @brtrvn, in one of our environments using the SaaS v0, I get this error, I have even check the ssm paramter and the parameter in the CloudFormation, in both there is a bucket specified. |
Beta Was this translation helpful? Give feedback.
-
We are currently on v2.1.0 and we have two tenants enabled as part of our testing. Now how to upgrade to v2.2.3 without affecting any existing settings and configurations?
Please let me know, Thank you :) |
Beta Was this translation helpful? Give feedback.
-
I am actually trying to update saas to v1.1.1, but it shows the following error while launching saas-boost installer:
Beta Was this translation helpful? Give feedback.
All reactions