HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
장지원 페이지/
몰입 캠프
몰입 캠프
/
#16. Making and Understanding Server!

#16. Making and Understanding Server!

URL
날짜
Jul 12, 2024
Project
project3

django

고쳐야 할 것: urls, views, serializers, model, admin
 

서버 공부

AWS E2C란? + django, mysql, aws 연동
Elastic Compute Cloud라고 부른다. AWS에서 스토리지, DB, 서버를 빌리는 것이다. Elastic인 만큼 자유롭게 용량, 성능 등을 자유롭게 조절할 수 있다.
YouTubeYouTubeHow to Connect Django with Amazon (AWS) RDS MySQL
How to Connect Django with Amazon (AWS) RDS MySQL

How to Connect Django with Amazon (AWS) RDS MySQL

Django & Django REST Framework with React Front-end Course https://www.udemy.com/course/django-django-rest-framework-build-rest-api-in-python/?couponCode=DA00E345D911DBFDE59F In this video we are going to learn How to Connect Django with Amazon (AWS) RDS MySQL. What is Amazon RDS ? Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. Amazon RDS is available on several database instance types - optimized for memory, performance, or I/O - and provides you with six familiar database engines to choose from, including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database, and SQL Server. What is AWS ? Amazon Web Services, Inc. is a subsidiary of Amazon providing on-demand cloud computing platforms and APIs to individuals, companies, and governments, on a metered pay-as-you-go basis. What is Django ? Django is a Python-based free and open-source web framework that follows the model–template–views architectural pattern. It is maintained by the Django Software Foundation, an independent organization established in the US as a 501 non-profit Join My Skillshare Courses https://www.skillshare.com/r/user/parwizforogh?gr_tch_ref=on&gr_trp=on

YouTubeYouTube

KCLOUD?:
ctrl shift p
ToDo: Guide 따라서 VPN 키기
User: root
IP: 172.10.7.121
Password: 557ad80a51403b → tkfkdgo25* https://kcloudvpn.kaist.ac.kr
 
django: 서버와 상호작용 하는 것
→ 애플리케이션 프레임워크 (그냥 웹/앱 구성을 돕기 위한, 하기 쉽게하기 위한 프레임워크라고 보면 될 것 같다)
mysql: 데이터베이스 서버
→ RDBMS: 데이터베이스 관리 시스템 (여러 프로그램에서 데이터를 관리해 주기 위한 시스템이라 이해하면 될 것 같다)
aws(KCLOUD): 데이터베이스 서버 관리
→ 클라우드 컴퓨팅 (서버, 스토리지, 데이터베이스 등을 지원한다)
 
KCLOUD는 서버가 있는 컴퓨터를 빌린다(?)
 
VPN은 꼭 켜야한다…
 
서버에 git clone 해서 붙여두고, runserver 0.0.0.0:80 (8000은 허용 안해주기 때문에)

mysql 사용
  1. 명령어 입력
mysql -u root -p
  1. db 생성
  • db 생성: creat database “이름”;
  • db 제거: drop database “이름”;
  • show databases;

⇒ 지금까지 한 거 서버 연동
  • 내가 해야하는 것: 8000다 80으로 바꾸기
  • 배정받은 서버에 clone해서 django 코드 올리기
  • runserver 0.0.0.0:80 하기

++ 남의 서버 들어가기: ctrl shift p ++ ssh 비밀번호 입력

디자인 공부

Figma
notion image
 
issue: 사용 가능!
mildstone, project는 사용할건가?