안녕하세요! 탄력적 IP를 발급받고 인스턴스를 중지하려고 하면 인스턴스를 중지한 후에는 해당 인스턴스에 대한 사용 요금이나 데이터 전송 요금이 더 이상 청구되지 않습니다. 하지만 연결된 EBS 볼륨 및 관련 탄력적 IP 주소와 같은 관련 리소스에 대해서는 계속 요금이 청구됩니다. 위의 내용의 경고가 나오는데 탄력적 IP는 사용하려면 유료로 사용하는 건가요? 요금을 내지 않으려면 인스턴스 중지 및 EBS 볼륨 삭제, 탄력적 IP 주소 삭제하거나 인스턴스를 종료해야 하는 건가요?
복습방법을 잘 모르겠습니다.. 두가지 질문을 드려봐요. 1. 강의를 전부 다시보는건 너무 시간이 오래걸릴것같고 교재랑 코드만 보면 지식의 공백이 생길것같습니다... 2. 학습적으로 제대로 이해하고 응용할 수준까지 진행하고 싶어도 주입식교육을 받은 학생이라 그런지 다양한 문제를 해결하지 않으면 그 수준까지 도달을 못하는 편입니다. 그래서 다양한 예제를 풀어볼 수있는 방법이 없을까요 ? 목차마다 한 두문제가 있는데 반복해도 나중에 다른 문제를 만낫을때 해결하지 못해서 고민입니다.. 그런 문제를 아주 가끔씩 만나기도 하고요... 뭔가 몇달째 코딩을 하면서 이것때문에 남는 지식이 얼마 없는것 같아서 딜레마에 빠졌습니다.. 좋은 방법이 없을까요?ㅠㅠ
중급, 활용편 #1 DevOps : Infrastructure as Code with AWS and 테라폼
안녕하세요, 양질의 강의 감사합니다. 저도 아래분과 똑같은 오류를 경험하고 있습니다. 댓글을 보고 따라해봐도 어떻게 해야되는지 잘 모르겠습니다. data "terraform_remote_state" "vpc" { backend = "s3" config = merge(var.remote_state.vpc.neopindapne2) } 이렇게 바꾸면 돌아가는 건가요? 사실 저렇게 변경해봐도 다른 부분에서 추가적으로 오류가 생겨 글을 남겨요. 또한 괜찮으시다면 보편적인 Application 구조 ALB_SG-ALB-Listner-TargetGroup - EC_SG 만들기 이 부분에서 어떤 부분을 어떻게 수정해야되는지 구체적으로 명확하게 적시해주시면 감사할 것 같습니다. -- 추가적으로 강의를 나눠서 진행한다고 하셨습니다. 맨 처음 https://terraform201.devart.tv/ 이 페이지를 보고 젠킨스까지 다 진행해주시는 줄 알았네요. 강의 소개란에 1편, 2편 나눠서 진행하신다고 적어주시면 좋을 것 같습니다.
안녕하세요 강의 재밌게 잘 듣고 있습니다. 감사합니다. 제가 현재 15강 진행 중에 도커파일을 빌드하는 부분에 있는데요. docker build -t raymong_lecture_serverless_ai . 다음 명령어를 실행시 아래와 같은 에러가 발생합니다. [+] Building 113.3s (16/22) docker:desktop-linux => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.70kB 0.0s => [internal] load metadata for docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime 1.6s => [auth] pytorch/pytorch:pull token for registry-1.docker.io 0.0s => [ 1/18] FROM docker.io/pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime@sha256:9904a7e081eaca29e3ee46afac87f2879676dd3bf7b5e9b8450454d84e074ef0 0.0s => [internal] load build context 0.0s => => transferring context: 757B 0.0s => CACHED [ 2/18] RUN apt-get update 0.0s => CACHED [ 3/18] RUN apt-get install -y git build-essential 0.0s => CACHED [ 4/18] RUN pip install -U --pre triton 0.0s => CACHED [ 5/18] RUN pip3 install --upgrade pip 0.0s => CACHED [ 6/18] ADD requirements.txt requirements.txt 0.0s => CACHED [ 7/18] RUN pip3 install -r requirements.txt 0.0s => CACHED [ 8/18] RUN pip3 install -U xformers --index-url https://download.pytorch.org/whl/cu113 0.0s => CACHED [ 9/18] ADD s3_file_ manager.py . 0.0s => CACHED [10/18] ADD download.py . 0.0s => ERROR [11/18] RUN python3 download.py 111.6s ------ > [11/18] RUN python3 download.py : 2.806 The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`. 0it [00:00, ?it/s]downloading reg images... 19.26 Fetching 11 files: 100%|██████████| 11/11 [01:12<00:00, 6.62s/it] Loading pipeline components...: 83%|████████▎ | 5/6 [00:08<00:02, 2.11s/it]The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. Loading pipeline components...: 100%|██████████| 6/6 [00:09<00:00, 1.53s/it] 101.2 You have disabled the safety checker for <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'> by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 . 111.6 Killed ------ Dockerfile:31 -------------------- 29 | ADD s3_file_ manager.py . 30 | ADD download.py . 31 | >>> RUN python3 download.py 32 | 33 | ADD convert_diffusers_to_original_stable_ diffusion.py . -------------------- ERROR: failed to solve: process "/bin/sh -c python3 download.py " did not complete successfully: exit code: 137 원인과 해결방법이 어떻게 될까요?
안녕하세요 simon Kim님 강의를 순조롭게 따라가던 중 vi index.html 을 입력하고나서 초록색이 바 같은게 보이면서 아무런 입력이 되지 않습니다. 어떻게 해야 하나요?? html 내용 작성 이후에도 어떤것을 하셔서 다시 ec2 콘솔로 돌아가시는지 그것도 궁금합니다.
안녕하세요 Simon 킴 님 강의를 수강하다가 궁금한게 있어 질문 드립니다. Magnetic/HDD군에서 Magnetic (Sandard)만 유일하게 boot volume으로 사용이 가능한 것으로 보여지는데 자바 스프링을 구동하려면 OS가 필요하고 거기에서 JVM이 필요하니 HDD군에서만 사용한다고 가정 했을 때 무조건 boot volume을 가지고 있는 Magnetic (Sandard)을 최소한 하나는 사용해야 하는건가요?? 혹은 EBS의 5가지 중 boot volume으로 사용할 수 있는 하나는 최소한 사용을 해야하는건가요??
Kevin의 알기 쉬운 Spring Reactive Web Applications: Reactor 1부
기존 예제 (sleep 시간이 5L인 경우)에선 Exception이 발생하는 것을 확인했습니다. 하지만 sleep 시간을 더 늘리니까 Erorr가 발생하지않았습니다. 제 예상대로라면 버퍼가 더 빨리 차기 때문에 에러가 발생해야하는데, 동작이 이해가 되지 않습니다. public class BackpressureStrategyErrorExample { public static void main(String[] args) { Flux .interval(Duration.ofMillis(1L)) .onBackpressureError() .doOnNext(Logger::doOnNext) .publishOn(Schedulers.parallel()) .subscribe(data -> { // 왜 50L, 500L로 하면 에러가 발생하지 않을까? TimeUtils.sleep(500L); Logger.onNext(data); }, error -> Logger.onError(error)); TimeUtils.sleep(5000L); } }
오토 스케일링 설정 후에 ec2인스턴스가 새로 만들어진게 로드밸런스의 대상그룹과는 별개로 갯수가 관리된다고 하셨는데요. 그러면 최소 갯수를 0으로 하면 안생기고 LB의 대상그룹으로 운용하다가 CPU 사용량이 많아지면 그때 1개 생기는 걸까요? 최고 갯수를 1개로 하고 생긴 것은 기존 로드밸런스 그룹에 있는 인스턴스와 오토스케일링으로 생긴 인스턴스를 같이 사용하는 걸까요? 제가 이 개념을 잘 못이해한걸까요...?
중급, 활용편 #1 DevOps : Infrastructure as Code with AWS and 테라폼
질문은 부담없이 어떤거든 해주세요! 주영님이 설정하신 심볼릭 링크 관련하여 코드 재사용 및 중앙 관리를 하기 위함인 것 같다는 생각이 들긴 하지만, 주영님께 직접 답변을 듣고 싶어서 질문드립니다. service 디렉터리 구조에서 저렇게 심볼릭 링크를 설정하신 이유가 무엇인지 디테일하게 답변해 주실 수 있을까요??
안녕하세요 네이버 메일 자동화 코드를 실행하면 메일 쓰기 버튼을 계속 찾지 못하고 있어 어떻게 수정하면 될지 문의드립니다. 메일함 이동까지는 정상적으로 되고 있으나 메일 쓰기 버튼만 찾지 못하고 있습니다. 코드는 다음과 같습니다. from selenium.webdriver import ChromeOptions from selenium import webdriver from selenium.webdriver.chrome.service import Service as ChromeService from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.common.by import By import time import pyperclip import pyautogui from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC options = ChromeOptions() options.add_experimental_option("detach", True) driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()), options=options) driver.get('https://nid.naver.com/nidlogin.login?mode=form&url=https://www.naver.com/') driver.maximize_window() # 화면 최대화 # 아이디 입력창 id = driver.find_element(By.CSS_SELECTOR, '#id') id.click() pyperclip.copy('eooe5173') pyautogui.hotkey('ctrl', 'v') time.sleep(2) # 비밀번호 입력창 passward = driver.find_element(By.CSS_SELECTOR, '#pw') passward.click() pyperclip.copy('ssw471395~') pyautogui.hotkey('ctrl', 'v') time.sleep(2) # 로그인 버튼 driver.find_element(By.CSS_SELECTOR, '#log\.login').click() time.sleep(5) # 메일함으로 이동 mailbox = driver.find_element(By.CSS_SELECTOR,'#shortcutArea > ul > li:nth-child(1) > a').click() time.sleep(5) # 내게 쓰기 버튼 writeme_button =driver.find_element(By.CSS_SELECTOR, '#root > div > nav > div > div.lnb_header > div.lnb_task > a.item.button_write').click() # 메일 제목 입력창 및 입력 mailname = driver.find_element(By.CSS_SELECTOR, '#subject_title').click() pyperclip.copy('안녕하세요') pyautogui.hotkey('ctrl', 'v') time.sleep(5) # 메일 내용 입력창 및 입력 mailinfo = driver.find_element(By.CSS_SELECTOR, '#body > div > div.workseditor-content').click() pyperclip.copy('네이버 메일 자동화입니다.') pyautogui.hotkey('ctrl', 'v') time.sleep(5) # 메일 저장 mailsave = driver.find_element(By.CSS_SELECTOR, '#content > div.mail_toolbar.type_write > div:nth-child(1) > div > button.button_write_task').click() time.sleep(5) 에러는 동일하게 다음과 같이 노출되고 있습니다. selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"#root > div > nav > div > div.lnb_header > div.lnb_task > a.item.button_write"} (Session info: chrome=123.0.6312.123) Stacktrace: GetHandleVerifier [0x00D14CA3+225091] (No symbol) [0x00C44DF1] (No symbol) [0x00AE9A7A] (No symbol) [0x00B2175B] (No symbol) [0x00B2188B] (No symbol) [0x00B57882] (No symbol) [0x00B3F5A4] (No symbol) [0x00B55CB0] (No symbol) [0x00B3F2F6] (No symbol) [0x00B179B9] (No symbol) [0x00B1879D] sqlite3_dbdata_init [0x01189A43+4064547] sqlite3_dbdata_init [0x0119104A+4094762] sqlite3_dbdata_init [0x0118B948+4072488] sqlite3_dbdata_init [0x00E8C9A9+930953] (No symbol) [0x00C507C4] (No symbol) [0x00C4ACE8] (No symbol) [0x00C4AE11] (No symbol) [0x00C3CA80] BaseThreadInitThunk [0x764EFCC9+25] RtlGetAppContainerNamedObjectPath [0x77DE7C5E+286] RtlGetAppContainerNamedObjectPath [0x77DE7C2E+238]
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? 예 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예 3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예 [질문 내용] 여기에 질문 내용을 남겨주세요. 선생님께서 패키지를 생성하실 때 com.helloshop이라고 생성하시면 인텔리제이에서 자동으로 com이라는 패키지를 만들고 그 밑에 helloshop이라는 패키지를 만들어 주던데 저는 그냥 com.helloshop이라는 패키지 생성됩니다. 어떤 세팅을 바꿔야 하는지 알고 싶습니다!
중급, 활용편 #1 DevOps : Infrastructure as Code with AWS and 테라폼
질문은 부담없이 어떤거든 해주세요! 에러 캡처: 에러 로그: Planning failed. Terraform encountered an error while generating this plan. ╷ │ Warning: Deprecated Parameters │ │ with data.terraform_remote_state.vpc, │ on remote_state.tf line 1, in data "terraform_remote_state" "vpc": │ 1: data "terraform_remote_state" "vpc" { │ │ The following parameters have been deprecated. Replace them as follows: │ * role_arn -> assume_role.role_arn │ │ │ (and one more similar warning elsewhere) ╵ ╷ │ Error: Cannot assume IAM Role │ │ IAM Role ARN not set 상황 설명: 강의 38:27 부분 따라하는 과정에서 plan 명령어 입력 시 첨부드린 사진과 같이 에러가 발생합니다. 참고로 , terraform/services/hello/ devartd_apnortheast2 를 cp -R로 복사하여, terraform/services/hello/ neopind_apnortheast2 이와 같이 저만의 디렉터리를 만들어 작업 중입니다.