投稿時間:2023-07-09 10:11:55 RSSフィード2023-07-09 10:00 分まとめ(12件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
IT ITmedia 総合記事一覧 [ITmedia Mobile] ドコモ販売ランキング:セール中のiPhone 13がPixel 7aを押しのけ1位に【6月26日~7月2日】 https://www.itmedia.co.jp/mobile/articles/2307/08/news046.html iphone 2023-07-09 09:30:00
IT ITmedia 総合記事一覧 [ITmedia Mobile] +Styleのスマートデバイス107商品が特価に:Amazonプライムデー https://www.itmedia.co.jp/mobile/articles/2307/09/news034.html amazon 2023-07-09 09:30:00
IT ITmedia 総合記事一覧 [ITmedia ビジネスオンライン] 銚子電鉄「切符ポケット」付きシャツ販売 「東京シャツ」と共同開発 https://www.itmedia.co.jp/business/articles/2307/07/news193.html itmedia 2023-07-09 09:15:00
js JavaScriptタグが付けられた新着投稿 - Qiita タイポグリセミア現象を用いて、タイポしても気づかれない文章を作りたい https://qiita.com/ishi720/items/2b0ad10d9c1dffb6408e wikipedia 2023-07-09 09:24:15
golang Goタグが付けられた新着投稿 - Qiita Golang ユーザー削除 https://qiita.com/ooyy0121/items/6d0c693155eafb0cfbd0 paramsmuxvarsr 2023-07-09 09:40:43
golang Goタグが付けられた新着投稿 - Qiita チーム開発参加の記録【2023-06~2023-08】(6) PostgreSQLの複合型の配列の更新について、もう少し煮詰める https://qiita.com/kanedaq/items/6c86d8dff79a5fa1dda3 goginsqlc 2023-07-09 09:06:50
技術ブログ Developers.IO Amazon Location Service の API キー機能が GA しました https://dev.classmethod.jp/articles/location-service-api-key-ga/ amazonlocationservice 2023-07-09 00:16:20
海外TECH DEV Community How to deploy a React application to AWS using AWS S3 & AWS CloudFront https://dev.to/alizgheib/how-to-deploy-a-react-application-to-aws-using-aws-s3-aws-cloudfront-42km How to deploy a React application to AWS using AWS S amp AWS CloudFrontHello everyone I hope that you are doing great on this fine weekendPreviously I built a face recognition tool for celebrities where I deployed its back end to AWS using AWS CDK The link for the article can be found here Today I ll be deploying the front end part React application to Amazon Simple Storage Service S while adding a caching solution using AWS CloudFront So let s do it together I thought that it would be pretty useful to outline our process into steps so that it would be easier for you to follow along Build Deployment Outline Fix a common issue with React applications blank page Create a production buildCreate an S Bucket on AWS and upload the content of the build folderCreate a CloudFront distributionEnabled S public access to our bucket and allow access from our CloudFront distribution only using OAC That should be it Our application should be running now and available on over edge locationsStep By Step Guide If you would like to follow along feel free to use the codebase available here Now let s start First of all there s a small issue that I faced when accessing the deployed application a blank page kept on showing To fix that we just need to add homepage in the package json file the package json should look as follow name front end version private true homepage dependencies project dependencies here other configurations Now let s create a production build of the applicationWe cd into the project directorycd front endWe create a production build by running the NPM command below npm run buildAfter a successful run we should have a build folder similar to the one below Now let s login to the AWS Console and Navigate to the AWS S service page We click on the Create bucket button to create an S bucket that will host our React application codeWe name our s bucket ex celebrities face recognition it should be globally unique and we click the Create bucket button at the bottom without the need to modify any other options We should see something similar to the image below Now let s upload the previously created production build to the S bucket We click on celebrities face recognition the name of the bucket you created and we click on “Upload We upload the files index html favicon ico asset manifest json robots txt and the static folder separately and at the end we should have something similar to the list below ready to be uploaded Now we click the Upload button at the bottom of the page and after waiting a couple of moments our project should be successfully uploaded Great progress if you are still following along The setup for our S bucket is partially ready We have to add a caching solution to our S bucket and expose our website to the web via AWS CloudFront and finally we go back to S to update the permissions Let s navigate to the AWS CloudFront service and click on the Create a CloudFront distribution button to create a new distribution We pick celebrities face recognition s us east amazonaws com for the Origin domain option Now for the Origin access option a Let s change it from Public to Origin access control settings recommended OAC is the newer and recommended approach to access your S bucket from AWS CloudFront b Click Create control setting c Click Create For the WAF option pick whatever fits your needs For my case I ll go ahead and disable it For the Default root object we enter index html as our default object We click Create distribution to create our distribution that s it for CloudFront our distribution is now being deployed globally and you should see a screen similar to the one below You can see the distribution domain name However if we try to access it we will get an error because S is not allowing our CloudFront distribution to access it let s change that Let s copy the new S bucket policy by clicking the Copy Policy button at the top right of the screen We navigate back to the AWS S service and we open the permissions section of our celebrities face recognition bucket Click the Edit button in the Block public access bucket settings section and make sure to untick all the options then click Save changes Click the Edit button in the Bucket policy section and paste the previously copied CloudFront permissions here then click Save changes Guess what The distribution is working now and can be accessed globally at minimal latency You can go a bit further and link the distribution URL to your domain ex using a DNS provider like GoDaddy Name Cheap Route etc but that would be outside the scope of this article Please note that the distribution created is for education purposes only and it will be taken down before publishing the article Use it as a guide to create and publish your distributions Thank you for sticking with me till the end and I would appreciate any feedback in the comments section below 2023-07-09 00:26:05
海外科学 BBC News - Science & Environment How warming oceans are driving the climate juggernaut https://www.bbc.co.uk/news/science-environment-66143682?at_medium=RSS&at_campaign=KARANGA world 2023-07-09 00:02:40
ビジネス 東洋経済オンライン 【梅毒】10年で5倍にも「感染を防ぐ」6つのルール 地方での増加が顕著、増えている要因は? | 「病気」と「症状」の対処法 | 東洋経済オンライン https://toyokeizai.net/articles/-/684312?utm_source=rss&utm_medium=http&utm_campaign=link_back 東洋経済オンライン 2023-07-09 09:30:00
ニュース Newsweek 「泡を作らないのは初心者」...人類が「最高のビールの泡」を求め続けた歴史とは? https://www.newsweekjapan.jp/stories/world/2023/07/post-102093.php 昔から、ビールは泡をたくさん立てて注がれていたから、「泡切り」の道具が必要だった。 2023-07-09 09:47:22
ビジネス プレジデントオンライン 著名人や大富豪でも「生きていて虚しい」と感じるのはなぜか…現代人が囚われやすい「夢」や「理想」の怖さ - 人生に意味を求めるから苦しくなる https://president.jp/articles/-/71292 著名人 2023-07-09 10:00:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)