{"id":38654,"date":"2024-11-01T19:08:38","date_gmt":"2024-11-01T19:08:38","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38654"},"modified":"2024-11-26T06:43:42","modified_gmt":"2024-11-26T06:43:42","slug":"django-%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c-aws-s3%ec%99%80-%ea%b0%99%ec%9d%80-%ed%81%b4%eb%9d%bc%ec%9a%b0%eb%93%9c-%ec%8a%a4%ed%86%a0%eb%a6%ac%ec%a7%80-%ec%97%b0%eb%8f%99%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38654\/","title":{"rendered":"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \ud30c\uc77c \uc800\uc7a5\uc740 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ub85c\uceec \uc11c\ubc84\uc5d0 \ud30c\uc77c\uc744 \uc800\uc7a5\ud558\ub294 \uc804\ud1b5\uc801\uc778 \ubc29\ubc95\uc740 \ud55c\uacc4\uac00 \uc788\uc744 \uc218 \uc788\uc73c\uba70, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0\ub97c \uc0ac\uc6a9\ud558\uba74 \uc774\ub7ec\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcf8 \ubb38\uc11c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec AWS S3\uc640 \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc548\ub0b4\ud569\ub2c8\ub2e4.<\/p>\n<h2>1. AWS S3 \uac1c\uc694<\/h2>\n<p>AWS S3(Amazon Simple Storage Service)\ub294 \uc548\uc804\ud558\uace0 \ud655\uc7a5 \uac00\ub2a5\ud55c \uac1d\uccb4 \uc2a4\ud1a0\ub9ac\uc9c0 \uc11c\ube44\uc2a4\uc785\ub2c8\ub2e4. S3\ub294 \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uace0 \uac80\uc0c9\ud558\ub294 \ub370 \ucd5c\uc801\ud654\ub41c \uc11c\ube44\uc2a4\ub85c, \uc6f9\uc0ac\uc774\ud2b8 \ud638\uc2a4\ud305, \ubc31\uc5c5, \ub300\uc6a9\ub7c9 \ub370\uc774\ud130 \uc800\uc7a5 \ubc0f \ubcf5\uc6d0 \ub4f1 \ub2e4\uc591\ud55c \uc6a9\ub3c4\ub85c \uc0ac\uc6a9\ub429\ub2c8\ub2e4. AWS S3\ub97c \uc0ac\uc6a9\ud568\uc73c\ub85c\uc368 \uc0ac\uc6a9\uc790\ub294 \ub370\uc774\ud130\uc758 \ub0b4\uad6c\uc131\uacfc \uac00\uc6a9\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>1.1 AWS S3\uc758 \uc8fc\uc694 \ud2b9\uc9d5<\/h3>\n<ul>\n<li>\ub0b4\uad6c\uc131: AWS S3\ub294 99.999999999%\uc758 \ub0b4\uad6c\uc131\uc744 \uc81c\uacf5\ud558\uc5ec, \ub370\uc774\ud130 \uc190\uc2e4 \uc5fc\ub824\uac00 \uc801\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uac00\uc6a9\uc131: S3\ub294 \ub192\uc740 \uac00\uc6a9\uc131\uc744 \uc81c\uacf5\ud558\uc5ec \uc5b8\uc81c \uc5b4\ub514\uc11c\ub4e0 \ub370\uc774\ud130\ub97c \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ubcf4\uc548: IAM\uc744 \ud1b5\ud574 \uc5ed\ud560 \uae30\ubc18 \uc811\uadfc \uc81c\uc5b4\ub97c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ube44\uc6a9 \ud6a8\uc728\uc131: \uc0ac\uc6a9\ud55c \ub9cc\ud07c\ub9cc \ube44\uc6a9\uc744 \uc9c0\ubd88\ud558\uba70, \ub370\uc774\ud130 \uc800\uc7a5 \ubc0f \uc804\uc1a1 \ube44\uc6a9\uc774 \uc720\uc5f0\ud558\uac8c \uad00\ub9ac\ub429\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. Django \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<p>\uc774\uc81c Django \ud504\ub85c\uc81d\ud2b8\ub97c \uc124\uc815\ud558\uace0, AWS S3\uc640 \uc5f0\ub3d9\ud560 \uc900\ube44\ub97c \ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1 Django \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<\/h3>\n<pre><code>django-admin startproject myproject<\/code><\/pre>\n<h3>2.2 \uc758\uc874\uc131 \uc124\uce58<\/h3>\n<p>AWS SDK\uc640 Django\uc758 S3 \uc5f0\ub3d9\uc744 \uc704\ud574 \ub2e4\uc74c \ud328\ud0a4\uc9c0\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<pre><code>pip install boto3 django-storages<\/code><\/pre>\n<h3>2.3 Django \uc124\uc815 \uc218\uc815<\/h3>\n<p>settings.py \ud30c\uc77c\uc5d0 AWS S3 \uc124\uc815\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>\nimport os\n\n# AWS S3 \uc124\uc815\nAWS_ACCESS_KEY_ID = os.getenv('AWS_ACCESS_KEY_ID')\nAWS_SECRET_ACCESS_KEY = os.getenv('AWS_SECRET_ACCESS_KEY')\nAWS_STORAGE_BUCKET_NAME = 'your-bucket-name'\nAWS_S3_REGION_NAME = 'your-region'  # \uc608: 'us-east-1'\n\n# \uc815\uc801 \ud30c\uc77c \ubc0f \ubbf8\ub514\uc5b4 \ud30c\uc77c \uc124\uc815\nAWS_S3_CUSTOM_DOMAIN = f'{AWS_STORAGE_BUCKET_NAME}.s3.amazonaws.com'\nSTATIC_URL = f'https:\/\/{AWS_S3_CUSTOM_DOMAIN}\/static\/'\nMEDIA_URL = f'https:\/\/{AWS_S3_CUSTOM_DOMAIN}\/media\/'\n\nDEFAULT_FILE_STORAGE = 'storages.backends.s3.S3Boto3Storage'\nSTATICFILES_STORAGE = 'storages.backends.s3.S3StaticStorage'\n    <\/code><\/pre>\n<h2>3. AWS IAM \uc5ed\ud560 \uc124\uc815<\/h2>\n<p>AWS S3\uc5d0 \uc811\uadfc\ud558\uae30 \uc704\ud574\uc11c\ub294 IAM\uc744 \ud1b5\ud574 \uc801\uc808\ud55c \uad8c\ud55c\uc744 \uac00\uc9c4 \uc0ac\uc6a9\uc790 \ub610\ub294 \uc5ed\ud560\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h3>3.1 IAM \uc0ac\uc6a9\uc790 \uc0dd\uc131<\/h3>\n<ol>\n<li>AWS \uad00\ub9ac \ucf58\uc194\uc5d0 \ub85c\uadf8\uc778\ud569\ub2c8\ub2e4.<\/li>\n<li>IAM \ub300\uc2dc\ubcf4\ub4dc\ub85c \uc774\ub3d9 \ud6c4 &#8216;\uc0ac\uc6a9\uc790&#8217;\ub97c \uc120\ud0dd\ud558\uace0 &#8216;\uc0ac\uc6a9\uc790 \ucd94\uac00&#8217; \ubc84\ud2bc\uc744 \ud074\ub9ad\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc0ac\uc6a9\uc790 \uc774\ub984\uc744 \uc785\ub825\ud558\uace0, AWS Management Console\uc744 \uc120\ud0dd\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>3.2 \uad8c\ud55c \ubd80\uc5ec<\/h3>\n<ol>\n<li>&#8216;\uad8c\ud55c \ub2e8\uacc4&#8217;\uc5d0\uc11c &#8216;\uc815\ucc45 \uc9c1\uc811 \uc5f0\uacb0&#8217;\uc744 \uc120\ud0dd\ud569\ub2c8\ub2e4.<\/li>\n<li>&#8216;AmazonS3FullAccess&#8217; \uc815\ucc45\uc744 \uc120\ud0dd\ud558\uc5ec \ubaa8\ub4e0 S3 \ub9ac\uc18c\uc2a4\uc5d0 \ub300\ud55c \uc811\uadfc \uad8c\ud55c\uc744 \ubd80\uc5ec\ud569\ub2c8\ub2e4.<\/li>\n<li>\ub9c8\uc9c0\ub9c9\uc73c\ub85c &#8216;\uc0ac\uc6a9\uc790 \ub9cc\ub4e4\uae30&#8217;\ub97c \ud074\ub9ad\ud558\uc5ec \uc0ac\uc6a9\uc790\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>3.3 AWS Access Key \ud655\ubcf4<\/h3>\n<p>\uc0dd\uc131\ub41c \uc0ac\uc6a9\uc790\uc758 Access Key ID\uc640 Secret Access Key\ub97c \ubcf5\uc0ac\ud558\uc5ec .env \ud30c\uc77c\uc774\ub098 \ud658\uacbd \ubcc0\uc218\uc5d0 \uc800\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n<h2>4. \ud30c\uc77c \uc5c5\ub85c\ub4dc \uae30\ub2a5 \uad6c\ud604<\/h2>\n<p>Django\uc5d0\uc11c \ud30c\uc77c \uc5c5\ub85c\ub4dc \uae30\ub2a5\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\uac00 \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud558\uba74 S3\uc5d0 \uc800\uc7a5\ub418\ub3c4\ub85d \ud569\ub2c8\ub2e4.<\/p>\n<h3>4.1 \ubaa8\ub378 \uc0dd\uc131<\/h3>\n<pre><code>\nfrom django.db import models\n\nclass Document(models.Model):\n    title = models.CharField(max_length=100)\n    file = models.FileField(upload_to='documents\/')\n\n    def __str__(self):\n        return self.title\n    <\/code><\/pre>\n<h3>4.2 \uad00\ub9ac \ud3fc \uc0dd\uc131<\/h3>\n<pre><code>\nfrom django import forms\nfrom .models import Document\n\nclass DocumentForm(forms.ModelForm):\n    class Meta:\n        model = Document\n        fields = ('title', 'file')\n    <\/code><\/pre>\n<h3>4.3 \ubdf0 \uc0dd\uc131<\/h3>\n<pre><code>\nfrom django.shortcuts import render, redirect\nfrom .forms import DocumentForm\n\ndef upload_file(request):\n    if request.method == 'POST':\n        form = DocumentForm(request.POST, request.FILES)\n        if form.is_valid():\n            form.save()\n            return redirect('upload_success')\n    else:\n        form = DocumentForm()\n    return render(request, 'upload.html', {'form': form})\n    <\/code><\/pre>\n<h3>4.4 URL \uc124\uc815<\/h3>\n<pre><code>\nfrom django.urls import path\nfrom . import views\n\nurlpatterns = [\n    path('upload\/', views.upload_file, name='upload_file'),\n    path('upload_success\/', TemplateView.as_view(template_name='upload_success.html'), name='upload_success'),\n]\n    <\/code><\/pre>\n<h3>4.5 \uc5c5\ub85c\ub4dc \ud15c\ud50c\ub9bf \uc0dd\uc131<\/h3>\n<pre><code>\n<!DOCTYPE html>\n\n<html lang=\"ko\">\n<head>\n    <meta charset=\"utf-8\"\/>\n    <title>\ud30c\uc77c \uc5c5\ub85c\ub4dc<\/title>\n<\/head>\n<body>\n    <h1>\ud30c\uc77c \uc5c5\ub85c\ub4dc<\/h1>\n    <form enctype=\"multipart\/form-data\" method=\"post\">\n        {% csrf_token %}\n        {{ form.as_p }}\n        <button type=\"submit\">\uc5c5\ub85c\ub4dc<\/button>\n    <\/form>\n<\/body>\n<\/html>\n    <\/code><\/pre>\n<h2>5. \ud30c\uc77c \ubcf4\uae30 \ubc0f \uc0ad\uc81c \uae30\ub2a5<\/h2>\n<p>\uc5c5\ub85c\ub4dc\ub41c \ud30c\uc77c\uc744 \ubcf4\uc5ec\uc8fc\uace0 \uc0ad\uc81c\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4.<\/p>\n<h3>5.1 \ud30c\uc77c \ub9ac\uc2a4\ud2b8 \ubdf0<\/h3>\n<pre><code>\ndef file_list(request):\n    documents = Document.objects.all()\n    return render(request, 'file_list.html', {'documents': documents})\n    <\/code><\/pre>\n<h3>5.2 \uc0ad\uc81c \uae30\ub2a5 \uad6c\ud604<\/h3>\n<pre><code>\ndef delete_file(request, pk):\n    document = Document.objects.get(pk=pk)\n    document.delete()\n    return redirect('file_list')\n    <\/code><\/pre>\n<h3>5.3 URL \ub4f1\ub85d<\/h3>\n<pre><code>\nurlpatterns += [\n    path('files\/', views.file_list, name='file_list'),\n    path('files\/delete\/<int:pk>\/', views.delete_file, name='delete_file'),\n]\n    <\/int:pk><\/code><\/pre>\n<h3>5.4 \ud30c\uc77c \ub9ac\uc2a4\ud2b8 \ud15c\ud50c\ub9bf<\/h3>\n<pre><code>\n<!DOCTYPE html>\n\n<html lang=\"ko\">\n<head>\n    <meta charset=\"utf-8\"\/>\n    <title>\ud30c\uc77c \ub9ac\uc2a4\ud2b8<\/title>\n<\/head>\n<body>\n    <h1>\uc5c5\ub85c\ub4dc\ub41c \ud30c\uc77c \ubaa9\ub85d<\/h1>\n    <ul>\n        {% for document in documents %}\n            <li>\n                <a href=\"{{ document.file.url }}\">{{ document.title }}<\/a>\n                <a href=\"{% url 'delete_file' document.pk %}\">\uc0ad\uc81c<\/a>\n            <\/li>\n        {% endfor %}\n    <\/ul>\n<\/body>\n<\/html>\n    <\/code><\/pre>\n<h2>6. \ub9c8\ubb34\ub9ac \ubc0f \ucd94\uac00 \uace0\ub824 \uc0ac\ud56d<\/h2>\n<p>\uc774\uc81c Django \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c AWS S3\uc5d0 \ud30c\uc77c\uc744 \uc5c5\ub85c\ub4dc\ud558\uace0 \uad00\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uad6c\ud604\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uace0\ub824\ud574\uc57c \ud560 \uba87 \uac00\uc9c0 \ucd94\uac00 \uc0ac\ud56d\uc785\ub2c8\ub2e4.<\/p>\n<h3>6.1 \ubcf4\uc548 \uace0\ub824\uc0ac\ud56d<\/h3>\n<p>\uacf5\uac1c\uc801\uc73c\ub85c \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\ub294 \uacbd\uc6b0, S3 \ubc84\ud0b7\uc758 \ud37c\ubbf8\uc158\uc744 \ucca0\uc800\ud788 \uad00\ub9ac\ud574\uc57c \ud569\ub2c8\ub2e4. \ud30c\uc77c\uc5d0 \ub300\ud55c \uc561\uc138\uc2a4 \uad8c\ud55c\uc744 \uc124\uc815\ud558\uace0, \ubd88\ud544\uc694\ud55c \uad8c\ud55c\uc744 \ubd80\uc5ec\ud558\uc9c0 \uc54a\ub3c4\ub85d \uc8fc\uc758\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h3>6.2 \ube44\uc6a9 \uad00\ub9ac<\/h3>\n<p>AWS S3\ub294 \uc0ac\uc6a9\ub7c9\uc5d0 \ub530\ub77c \uc694\uae08\uc774 \uccad\uad6c\ub418\ubbc0\ub85c, \ube44\uc6a9\uc744 \uad00\ub9ac\ud558\uae30 \uc704\ud574 \ub370\uc774\ud130 \uc0ac\uc6a9\ub7c9\uc744 \uc8fc\uae30\uc801\uc73c\ub85c \ubaa8\ub2c8\ud130\ub9c1\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h3>6.3 \ud30c\uc77c \ud615\uc2dd \uc81c\ud55c<\/h3>\n<p>\ud2b9\uc815 \ud30c\uc77c \ud615\uc2dd\ub9cc \uc5c5\ub85c\ub4dc\ud560 \uc218 \uc788\ub3c4\ub85d \uc81c\ud55c\ud558\ub824\uba74 Django \ud3fc\uc5d0\uc11c \uac80\uc99d \ub85c\uc9c1\uc744 \ucd94\uac00\ud558\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uacb0\ub860<\/h2>\n<p>Django\ub97c AWS S3\uc640 \uc5f0\ub3d9\ud568\uc73c\ub85c\uc368 \ud30c\uc77c \uc800\uc7a5 \ubc0f \uad00\ub9ac\ub97c \ubcf4\ub2e4 \ud6a8\uc728\uc801\uc73c\ub85c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\ub97c \ud1b5\ud574 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0\uc758 \uc7a5\uc810\uc744 \uc774\ud574\ud558\uace0, \uc2e4\ubb34\uc5d0 \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \uae30\ubc18 \uc9c0\uc2dd\uc744 \uc313\uc73c\uc168\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \ud30c\uc77c \uc800\uc7a5\uc740 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ub85c\uceec \uc11c\ubc84\uc5d0 \ud30c\uc77c\uc744 \uc800\uc7a5\ud558\ub294 \uc804\ud1b5\uc801\uc778 \ubc29\ubc95\uc740 \ud55c\uacc4\uac00 \uc788\uc744 \uc218 \uc788\uc73c\uba70, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0\ub97c \uc0ac\uc6a9\ud558\uba74 \uc774\ub7ec\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcf8 \ubb38\uc11c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec AWS S3\uc640 \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc548\ub0b4\ud569\ub2c8\ub2e4. 1. AWS S3 \uac1c\uc694 AWS S3(Amazon Simple Storage Service)\ub294 \uc548\uc804\ud558\uace0 \ud655\uc7a5 \uac00\ub2a5\ud55c \uac1d\uccb4 \uc2a4\ud1a0\ub9ac\uc9c0 \uc11c\ube44\uc2a4\uc785\ub2c8\ub2e4. S3\ub294 \ub370\uc774\ud130\ub97c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38654\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[185],"tags":[],"class_list":["post-38654","post","type-post","status-publish","format-standard","hentry","category-django"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/38654\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \ud30c\uc77c \uc800\uc7a5\uc740 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ub85c\uceec \uc11c\ubc84\uc5d0 \ud30c\uc77c\uc744 \uc800\uc7a5\ud558\ub294 \uc804\ud1b5\uc801\uc778 \ubc29\ubc95\uc740 \ud55c\uacc4\uac00 \uc788\uc744 \uc218 \uc788\uc73c\uba70, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0\ub97c \uc0ac\uc6a9\ud558\uba74 \uc774\ub7ec\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcf8 \ubb38\uc11c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec AWS S3\uc640 \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc548\ub0b4\ud569\ub2c8\ub2e4. 1. AWS S3 \uac1c\uc694 AWS S3(Amazon Simple Storage Service)\ub294 \uc548\uc804\ud558\uace0 \ud655\uc7a5 \uac00\ub2a5\ud55c \uac1d\uccb4 \uc2a4\ud1a0\ub9ac\uc9c0 \uc11c\ube44\uc2a4\uc785\ub2c8\ub2e4. S3\ub294 \ub370\uc774\ud130\ub97c &hellip; \ub354 \ubcf4\uae30 &quot;DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38654\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T19:08:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:43:42+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38654\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38654\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30\",\"datePublished\":\"2024-11-01T19:08:38+00:00\",\"dateModified\":\"2024-11-26T06:43:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38654\/\"},\"wordCount\":77,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"DJango\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38654\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38654\/\",\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T19:08:38+00:00\",\"dateModified\":\"2024-11-26T06:43:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38654\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38654\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38654\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/38654\/","og_locale":"ko_KR","og_type":"article","og_title":"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \ud30c\uc77c \uc800\uc7a5\uc740 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. \ub85c\uceec \uc11c\ubc84\uc5d0 \ud30c\uc77c\uc744 \uc800\uc7a5\ud558\ub294 \uc804\ud1b5\uc801\uc778 \ubc29\ubc95\uc740 \ud55c\uacc4\uac00 \uc788\uc744 \uc218 \uc788\uc73c\uba70, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0\ub97c \uc0ac\uc6a9\ud558\uba74 \uc774\ub7ec\ud55c \ubb38\uc81c\ub97c \ud574\uacb0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcf8 \ubb38\uc11c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec AWS S3\uc640 \uc5f0\ub3d9\ud558\ub294 \ubc29\ubc95\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc548\ub0b4\ud569\ub2c8\ub2e4. 1. AWS S3 \uac1c\uc694 AWS S3(Amazon Simple Storage Service)\ub294 \uc548\uc804\ud558\uace0 \ud655\uc7a5 \uac00\ub2a5\ud55c \uac1d\uccb4 \uc2a4\ud1a0\ub9ac\uc9c0 \uc11c\ube44\uc2a4\uc785\ub2c8\ub2e4. S3\ub294 \ub370\uc774\ud130\ub97c &hellip; \ub354 \ubcf4\uae30 \"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/38654\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T19:08:38+00:00","article_modified_time":"2024-11-26T06:43:42+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38654\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38654\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30","datePublished":"2024-11-01T19:08:38+00:00","dateModified":"2024-11-26T06:43:42+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38654\/"},"wordCount":77,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["DJango\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38654\/","url":"https:\/\/atmokpo.com\/w\/38654\/","name":"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T19:08:38+00:00","dateModified":"2024-11-26T06:43:42+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38654\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38654\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38654\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"DJango \uc11c\ubc84\uac1c\ubc1c, AWS S3\uc640 \uac19\uc740 \ud074\ub77c\uc6b0\ub4dc \uc2a4\ud1a0\ub9ac\uc9c0 \uc5f0\ub3d9\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=38654"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38654\/revisions"}],"predecessor-version":[{"id":38655,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38654\/revisions\/38655"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}