You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-C, --config_file=PATH_TO_CONFIG_FILE - Path to the configuration file (default: ~/.myfc_cloud.yml)
30
+
-P, --production - Targets the production environment
31
+
-S, --sandbox - Targets the sandbox environment (default)
32
+
-T, --stage - Targets the stage environment
33
+
--help - Show this message
34
+
--version -
35
+
36
+
COMMANDS
37
+
check - Checks if all required configuration is properly set and all requirements are met
38
+
deploy - Deploys your application to the selected environment
39
+
help - Shows a list of commands or help for one command
40
+
scaling_group:check - Checks if all instances are InService AND Healthy on your ASG
41
+
scaling_group:freeze - 'Freezes' your ASG
42
+
scaling_group:info - Lists information about your Auto Scaling Group
43
+
scaling_group:update - Updates some attributes of your ASG
44
+
45
+
=== Configuration
46
+
47
+
+myfc_cloud+ expects a YAML configuration file with your AWS settings, keyed by environment, like this:
48
+
49
+
production:
50
+
access_key_id: production_access_key_id
51
+
secret_access_key: production_secret_access_key
52
+
auto_scaling_group_name: production_asg
53
+
elastic_load_balancer_name: production_elb
54
+
rds_instance_identifier: production_rds
55
+
app_path_on_server: /path/to/production/app/src
56
+
sandbox:
57
+
access_key_id: sandbox_access_key_id
58
+
secret_access_key: sandbox_secret_access_key
59
+
auto_scaling_group_name: sandbox_asg
60
+
elastic_load_balancer_name: sandbox_elb
61
+
rds_instance_identifier: sandbox_rds
62
+
app_path_on_server: /path/to/sandbox/app/src
63
+
stage:
64
+
access_key_id: stage_access_key_id
65
+
secret_access_key: stage_secret_access_key
66
+
auto_scaling_group_name: stage_asg
67
+
elastic_load_balancer_name: stage_elb
68
+
rds_instance_identifier: stage_rds
69
+
app_path_on_server: /path/to/stage/app/src
70
+
71
+
Optionally, you can leave out the +access_key_id+ and +secret_access_key+ information from the configuration file, and supply them as environment variables when you call the +myfc_cloud+ command, for example:
0 commit comments