-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment issues #19
Comments
Those are up to you to set as environment variables. See https://github.com/revmischa/cloudcam/blob/master/cloudformation/deploy-stack-dev.sh |
Few questions: STACK_NAME: what does it relate to? More info: I started a new AWS server on Ubuntu stack, and deployed JANAS server there, and ran the demos also (they dont work 100% but the to and fro communication between the demos on different browsers in different PCs show at-least there is something in place and hopefully working). I was assuming setting up a new janas server will get the the JANAS_KMS_KEY_USER and HEALTH_CHECK_ALARMS_TOPIC somehow, but that is not the case. How do I set above variables? |
They're environment variables - see https://github.com/revmischa/cloudcam/blob/master/cloudformation/deploy-stack-dev.sh
the topic is a SNS topic i assume |
I set these variables, according to my understanding, now I get new set of errors:
Any idea how to go around this? |
Should be fixed in #20
(those are only useful for adding/removing Janus Lightsail instances programmatically via janus_scale_lightsail lambda; we should probably add a configuration option for a static Janus instance list instead for cases where they are hosted elsewhere) |
I moved forward, but now I get this error:
full log:
|
Updates: in cloudcam.yml file, I can see this:
JanusCertPem and JanusCertKey are both blank, resulting in blank entries when cloudcam-packaged.yml is created. Question: how do i set JanusCertPem and JanusCertKey ? |
Also, what does:
mean? |
Update: so I installed webpack, using similar command:
then I run ./deploy-stack.sh again, this time I get this:
Any further pointers? Seems like never ending efforts here. |
Apologies for late reply JanusCertPem/JanusCertKey aren't currently used for anything and are be removed in #20, so CloudFormation ValidationError should go away As for SyntaxError: Unexpected token import, I'm not seeing that in our environment; what webpack version do you have? |
Also, #21 fixes the dev-ui/.env file generation, so creating the Cloudformation stack from scratch should now work properly |
It's:
This time I just downloaded whole cloudcam project again and 'make' it and run ./deploy-stack.sh, this time I get different error:
but I can see this variable 'LightsailBlueprintId' is set to default in cloudcam.yml:
|
I was able to build the source code.
However, after running ./deploy_stack as in:
cd cloudformation && ./deploy-stack.sh
I get some errors like:
ERROR: missing configuration variable: STACK_NAME
ERROR: missing configuration variable: S3_CODE_BUCKET
..
..
How am I supposed to set these variables?
The text was updated successfully, but these errors were encountered: