Support interacting directly with the database from the bastion host EC2 instance without a tunnel
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- aws, postgresql, python
- Lĩnh vực
- cloud, databases, devops, infrastructure
Hướng nghiên cứu
Bắt đầu bằng việc đọc construct của bastion host và cách xử lý user-data của nó, đặc biệt là hành vi trong quá trình cập nhật deployment. Kiểm tra cách truy cập instance EC2 thông qua AWS SSM và xác định instance cần cung cấp những công cụ cơ sở dữ liệu nào. Được xem là hoàn thành khi người dùng có thể bắt đầu một phiên SSM và thực hiện các thao tác quản trị cơ sở dữ liệu và STAC cần thiết mà không tạo một tunnel cục bộ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The current approach used to do administrative connections and STAC operations in the database (if deployed in an isolated subnet) is to create a 'bastion host' (an ec2 instance) that lives in the same VPC as the database and is allowed to make connections to it, and create a tunnel from the user's local machine to that ec2 instance.
However, creating the tunnel is not a straightforward task at all, and even though we provide a good documentation for how to do it, it would be better to avoid that step. In addition to being complicated, one must make sure that her/his SSH public key is registered in the EC2 instance side. We have a 'user data' parameter for this in the bastion host construct, but I noticed that it doesn't work when updating a deployment. Overall, it's not easy.
The only reason we need this tunnel is make use of the local machine environment, in particular libraries to connect and interact with the database (e.g. on macos psql and then pypgstac for CLI-based record loading or STAC queries). If instead, we set up the ec2 instance environment so that it has all these tools, we could do away entirely with the tunnel, and, in the above mentioned case of a DB deployed in a private, isolated, subnet, a user willing to make administrative connections and interactions with the DB would just have one command to run :
aws ssm start-session --target $EC2_INSTANCE_ID
Once logged into the instance, the user can freely interact with the DB.
- Ngôn ngữ chính
- Python
- Star
- 29
- Fork
- 6
- Merge trung bình
- 10 giờ 50 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của developmentseed/eoapi-cdk
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
developmentseed/eoapi-cdk#313 · 1 bình luận · 2 reaction ·
-
maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
developmentseed/eoapi-cdk#273 ·
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
developmentseed/eoapi-cdk#264 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
developmentseed/eoapi-cdk#308 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
developmentseed/eoapi-cdk#296 ·
Tất cả issue của developmentseed/eoapi-cdk
Issue tương tự
-
difficulty:2 enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
MakazhanAlpamys/Soup#2309 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
TAPVid-3D: per_trajectory and local_neighborhood scaling always score 0 in evaluate_model.pyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
google-deepmind/tapnet#173 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
change-description-authoring: jdk-33173-audit check 4 grades the hunk translation by its verbĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Netcracker/qubership-ai-packages#203 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PAC Wording
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày