File tree Expand file tree Collapse file tree 9 files changed +55
-107
lines changed
Expand file tree Collapse file tree 9 files changed +55
-107
lines changed Original file line number Diff line number Diff line change 1+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ # SPDX-License-Identifier: MIT-0
3+
14export EC_REDIS_HOST = <ElastiCache endpoint>
25export EC_REDIS_PORT = 6379
36export MYSQL_USER = admin
Original file line number Diff line number Diff line change 1+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ # SPDX-License-Identifier: MIT-0
3+
14AWSTemplateFormatVersion : ' 2010-09-09'
25Transform : ' AWS::Serverless-2016-10-31'
36Description : Create and EC2 to demonstrate the benefits of pairing RDBSM workloads with AWS ElastiCache
@@ -35,15 +38,15 @@ Parameters:
3538 AppInstanceSecurityGroup :
3639 Description : ' A security group with inbound rules for SSH connectivity from customer computer. And RDBMS and ElastiCache'
3740 Type : String
38- Default : sg-0a87f73dcc1dffc4f
41+ Default : default_security_group_id
3942 MinLength : ' 8'
4043 MaxLength : ' 63'
4144 # AllowedPattern: "^[a-zA-Z]+[0-9]+[-]*$"
4245
4346 AppInstanceSubnet :
4447 Description : ' A valid subnet name in the default VPC'
4548 Type : String
46- Default : subnet-05cfa282f9b9dc8df
49+ Default : default_subnet_name_id
4750 MinLength : ' 8'
4851 MaxLength : ' 63'
4952 # AllowedPattern: "^[A-Za-z]+[0-9A-Z-]*$"
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1- aiofiles == 22.1.0
2- aiosqlite == 0.19.0
3- anyio == 3.7.1
4- argon2-cffi == 23.1.0
5- argon2-cffi-bindings == 21.2.0
6- arrow == 1.2.3
7- async-timeout == 4.0.3
8- attrs == 23.2.0
9- Babel == 2.14.0
10- backcall == 0.2.0
11- beautifulsoup4 == 4.12.3
12- bleach == 6.0.0
13- cached-property == 1.5.2
14- certifi == 2024.2.2
15- cffi == 1.15.1
16- charset-normalizer == 3.3.2
17- cycler == 0.11.0
18- debugpy == 1.7.0
19- decorator == 5.1.1
20- defusedxml == 0.7.1
21- entrypoints == 0.4
22- exceptiongroup == 1.2.0
23- fastjsonschema == 2.19.1
24- fonttools == 4.38.0
25- fqdn == 1.5.1
26- greenlet == 3.0.3
27- idna == 3.6
28- importlib-metadata == 6.7.0
29- importlib-resources == 5.12.0
30- ipykernel == 6.16.2
31- ipython == 7.34.0
32- ipython-genutils == 0.2.0
33- isoduration == 20.11.0
34- jedi == 0.19.1
35- Jinja2 == 3.1.3
36- json5 == 0.9.16
37- jsonpointer == 2.4
38- jsonschema == 4.17.3
1+ python-decouple == 3.8
2+ redis == 5.0.4
3+ SQLAlchemy == 2.0.30
394jupyter-events == 0.6.3
405jupyter-server == 1.24.0
416jupyter-ydoc == 0.2.5
@@ -45,67 +10,4 @@ jupyter_server_fileid==0.9.1
4510jupyter_server_ydoc == 0.8.0
4611jupyterlab == 3.6.7
4712jupyterlab-pygments == 0.2.2
48- jupyterlab_server == 2.24.0
49- kiwisolver == 1.4.5
50- markdown-it-py == 2.2.0
51- MarkupSafe == 2.1.5
52- matplotlib == 3.5.3
53- matplotlib-inline == 0.1.6
54- mdurl == 0.1.2
55- mistune == 3.0.2
56- nbclassic == 1.0.0
57- nbclient == 0.7.4
58- nbconvert == 7.6.0
59- nbformat == 5.8.0
60- nest-asyncio == 1.6.0
61- notebook == 6.5.6
62- notebook_shim == 0.2.4
63- numpy == 1.21.6
64- packaging == 24.0
65- pandas == 1.3.5
66- pandocfilters == 1.5.1
67- parso == 0.8.3
68- pexpect == 4.9.0
69- pickleshare == 0.7.5
70- Pillow == 9.5.0
71- pkgutil_resolve_name == 1.3.10
72- prometheus-client == 0.17.1
73- prompt-toolkit == 3.0.43
74- psutil == 5.9.8
75- ptyprocess == 0.7.0
76- pycparser == 2.21
77- Pygments == 2.17.2
78- PyMySQL == 1.1.0
79- pyparsing == 3.1.2
80- pyrsistent == 0.19.3
81- python-dateutil == 2.9.0.post0
82- python-decouple == 3.8
83- python-json-logger == 2.0.7
84- pytz == 2024.1
85- PyYAML == 6.0.1
86- pyzmq == 24.0.1
87- redis == 5.0.3
88- requests == 2.31.0
89- rfc3339-validator == 0.1.4
90- rfc3986-validator == 0.1.1
91- rich == 13.7.1
92- Send2Trash == 1.8.2
93- six == 1.16.0
94- sniffio == 1.3.1
95- soupsieve == 2.4.1
96- SQLAlchemy == 2.0.29
97- terminado == 0.17.1
98- tinycss2 == 1.2.1
99- tomli == 2.0.1
100- tornado == 6.2
101- traitlets == 5.9.0
102- typing_extensions == 4.7.1
103- uri-template == 1.3.0
104- urllib3 == 1.26.6
105- wcwidth == 0.2.13
106- webcolors == 1.13
107- webencodings == 0.5.1
108- websocket-client == 1.6.1
109- y-py == 0.6.2
110- ypy-websocket == 0.8.4
111- zipp == 3.15.0
13+ jupyterlab_server == 2.24.0
Original file line number Diff line number Diff line change 1+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ # SPDX-License-Identifier: MIT-0
3+
14import json
25import random
36import threading
Original file line number Diff line number Diff line change 1+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+ # SPDX-License-Identifier: MIT-0
3+
14import json
25import random
36import threading
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+ # SPDX-License-Identifier: MIT-0
5+
36sudo yum install gcc python3-devel -y
47python3 -m venv .venv
58source .venv/bin/activate
Original file line number Diff line number Diff line change 11#! /bin/bash
22#
3+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4+ # SPDX-License-Identifier: MIT-0
5+
36# debug flags
4- # set -ex
7+ # set -ex
58source .venv/bin/activate
69
710echo ' y' | jupyter notebook --generate-config
You can’t perform that action at this time.
0 commit comments