전체 글
-
[web app prototyping with GCP] 5. Setup frontend VM / backend VM🌏 개발환경 2022. 10. 20. 04:01
Install the required packages for frontend: pip install dash pip install dash-renderer pip install dash-html-components pip install dash-core-components pip install plotly pip install requests #create firewall exception for dash (Open the dash port to allow remote connections) sudo gcloud compute firewall-rules create dash-conn --allow=tcp:8050 2. Install the required packagesfor backend #Check ..
-
[web app prototyping with GCP] 4. Install Python & Git on the VM instances카테고리 없음 2022. 10. 20. 03:48
1. Open an SSH connection to the VM 2. Run command line # 1. Update APT repository sudo apt update # 2. Install Git sudo apt install git # 3. Install Python sudo apt update sudo apt install python3 python3-dev python3-venv # 4. Install Python package management sudo apt-get install wget wget https://bootstrap.pypa.io/get-pip.py sudo python3 get-pip.py
-
[web app prototyping with GCP] 3. Create VM (frontend / backend) instances카테고리 없음 2022. 10. 20. 03:42
1. Create two compute engine instances (VM instance): frontend and backend Configuration Machine type: Small (2 CPU, 2 GB RAM) Region: europe-north-1 (more sustainable) Boot disk -> Disk size: 30 GB Firewalls: Allow HTTP / HTTPS traffic Identity and API access -> Access scopes: Allow full access to all Cloud APIs (Allows to use any GCP services) 1.1 give the name and select region and machine ty..
-
[web prototyping with GCP] 1. Create a database on GCP🌏 개발환경 2022. 10. 20. 03:15
1. Go to the SQL panel 2. Create PostgreSQL instance 3. configure the instance 4. Customize instance: Storage type: HDD (slower but cheaper): 20 GB Machine type: Lightweight (1 CPU, 3.75 GB) Connections -> Public IP -> Authorised networks: Use 0.0.0.0/0 (More convenient, but not secure)
-
-