{"provider_name":"Hatena Blog","version":"1.0","width":"100%","url":"https://shuku.hatenablog.com/entry/2021/05/30/062702","author_name":"qamqame","published":"2021-05-30 06:27:02","height":"190","provider_url":"https://hatena.blog","blog_title":"\u4eca\u65e5\u3082\u30b7\u30e5\u30af\u30b7\u30e5\u30af\u3068\uff01 ","categories":["AWS","\u30b7\u30b9\u30c6\u30e0\u958b\u767a"],"type":"rich","title":"Lambda\u3067RDS\u306b\u63a5\u7d9a\u3059\u308b(python)","image_url":null,"description":"Lambda\u304b\u3089RDS\u306b\u63a5\u7d9a\u3057\u305f\u969b\u306e\u30e1\u30e2\u3002 1. EC2\u306eLinux\u3092\u8d77\u52d5\u3057\u3001\u4f5c\u696d\u7528\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3059\u308b 2. vi\u3067lambda_function.py \u3092\u4f5c\u6210\u3059\u308b import sys import logging import rds_config import pymysql #rds settings rds_host = rds_config.db_endpoint name = rds_config.db_username password = rds_config.db_password db_name = rds_config.db_name logger = loggi\u2026","author_url":"https://blog.hatena.ne.jp/qamqame/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuku.hatenablog.com%2Fentry%2F2021%2F05%2F30%2F062702\" title=\"Lambda\u3067RDS\u306b\u63a5\u7d9a\u3059\u308b(python) - \u4eca\u65e5\u3082\u30b7\u30e5\u30af\u30b7\u30e5\u30af\u3068\uff01 \" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://shuku.hatenablog.com/"}