File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
lib/bsc/lib/assets/user-data Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -49,14 +49,6 @@ echo "Downloading assets zip file"
49
49
aws s3 cp $ASSETS_S3_PATH ./assets.zip --region $AWS_REGION
50
50
unzip -q assets.zip
51
51
52
- echo ' Configuring CloudWatch Agent'
53
- cp /opt/cw-agent.json /opt/aws/amazon-cloudwatch-agent/etc/custom-amazon-cloudwatch-agent.json
54
-
55
- echo " Starting CloudWatch Agent"
56
- /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl \
57
- -a fetch-config -c file:/opt/aws/amazon-cloudwatch-agent/etc/custom-amazon-cloudwatch-agent.json -m ec2 -s
58
- systemctl status amazon-cloudwatch-agent
59
-
60
52
aws configure set default.s3.max_concurrent_requests 50
61
53
aws configure set default.s3.multipart_chunksize 256MB
62
54
199
191
200
192
chown bcuser:bcuser -R /data
201
193
194
+ echo ' Configuring CloudWatch Agent'
195
+ cp /opt/cw-agent.json /opt/aws/amazon-cloudwatch-agent/etc/custom-amazon-cloudwatch-agent.json
196
+
197
+ echo " Starting CloudWatch Agent"
198
+ /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl \
199
+ -a fetch-config -c file:/opt/aws/amazon-cloudwatch-agent/etc/custom-amazon-cloudwatch-agent.json -m ec2 -s
200
+ systemctl status amazon-cloudwatch-agent
201
+
202
202
sudo systemctl daemon-reload
203
203
sudo systemctl enable --now bsc
204
204
You can’t perform that action at this time.
0 commit comments