TECH |
Techable(テッカブル) |
サンワサプライ、XboxやPS5でも使える最大2TBのUSBメモリ型ポータブルSSD発売 |
https://techable.jp/archives/195553
|
pspsxboxseriesx |
2023-02-11 09:00:49 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
IT分野勉強中! |
https://qiita.com/kon-m/items/d15425f64f2e228f0ec4
|
経験 |
2023-02-11 18:53:18 |
python |
Pythonタグが付けられた新着投稿 - Qiita |
XAMPPのMySQLにPythonから触る(mysqlclient & MySQLdb) |
https://qiita.com/RS2324/items/88098444e3018b7d0b65
|
chrome |
2023-02-11 18:43:25 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
【JavaScript】スプレッド構文 シャローコピーの落とし穴 |
https://qiita.com/oNas/items/fae38502bd03b5df3d2d
|
javascript |
2023-02-11 18:57:48 |
js |
JavaScriptタグが付けられた新着投稿 - Qiita |
IT分野勉強中! |
https://qiita.com/kon-m/items/d15425f64f2e228f0ec4
|
経験 |
2023-02-11 18:53:18 |
Azure |
Azureタグが付けられた新着投稿 - Qiita |
Spring Boot WEBサービスを Azure App Service 環境で起動する |
https://qiita.com/hiroxpepe/items/98e0556a90ce9a706e80
|
azureappservice |
2023-02-11 18:20:04 |
海外TECH |
MakeUseOf |
6 Amazing ChatGPT Chrome Extensions for Better AI Prompts and Answers in Browsers |
https://www.makeuseof.com/chatgpt-chrome-extensions-better-ai-prompts-answers-in-browsers/
|
Amazing ChatGPT Chrome Extensions for Better AI Prompts and Answers in BrowsersThese amazing ChatGPT extensions make the AI easier and better to use in modern browsers increasing its uses and scenarios |
2023-02-11 09:30:16 |
海外TECH |
DEV Community |
Deploy Your Node.js Project on AWS with Nginx and SSL |
https://dev.to/alanmathew175/deploy-your-nodejs-project-on-aws-with-nginx-and-ssl-4944
|
Deploy Your Node js Project on AWS with Nginx and SSLIn this tutorial we will briefly cover the steps involved in deploying a Node js Express application on an AWS EC instance Server configuration and application deployment can often be challenging for developers who may not have a deep understanding of network security or how reverse proxy and load balancing work After struggling through various blog posts and Stack Overflow answers I realized the need for a comprehensive guide for deploying applications For the first time I spent nearly three days attempting to handle the hosting aspect and made numerous mistakes Deploying is much easier if we have a step by step guide In this blog we will address all the common problems one might encounter Prerequisitesa Push your project in github Please add env and node modules in gitignoreb Purchase a domain from any domain providers like godaddy For the sake of simplicity here I m using yourdomain com EC ConfigurationFirst of all you need to set up the EC instance in AWS I hope you guys already set up the AWS account From services in AWS select EC This will take you to the EC dashboard From here you can select to create a new EC instance by clicking the launch instance button Simply add a name and You can choose which operating system to run on your instance I will be using ubuntu Now move to the Key pair and create a key pair by giving a name Well you noticed a pem file will be downloaded At the end you will find another button to launch instanceNow please go back to the EC dashboard where you will find a new instance It s status may be pending please wait some minutes it will change to Running One last step to do Click on the instance id You will be redirected to another page Where you will find security This will take you to another portion where click on the link below the security groups and change the inbound rules as belowNow we have done all the things with EC Let s think about Route In Route Dashboard you will find DNS management where you can create hosted zone In hosted zone configuration simply giving your domain name you can create it There you will find records having type as NS Don t be panic mkstudio live is my domain name Copy each of them excluding the last dote and change it with your domains DNS name servers I hope you will find that in your DNS providers page Now create A records by clicking create record Create one record with empty subdomain and one as www You must put the public IP of your instance at the place of value Finished Install Node js and Clone your git RepositoryYou can move to the ssh client terminal with the help of connect option in your instance On your connect window simply copy the example and open your CMD at the location where your pem file is existing Paste it there enter some yes Hope you will find it Or you can use EC instance connect option in the connect windowEnter the command bellow to install node jscurl sL sudo E bash sudo apt install nodejsOnce we are done setting up node we can clone our repositorygit clone lt project repository clone URL gt cd yourprojectnpm installWell now we need to create a dotenv file For that enter the following commandsudo nano envEnter the env variables Here I will provide one example API KEY fdjnvjknjnkdnv You can come back to the terminal by clicking ctrl x then y then press enter Run the following commandnpm startI have my application running on port To test it we can access the public IP address of our instance and specify the port For me I hope you will find that your application is running in the public IP PM installationNow we will install a library named pm which will allow our node application to run in the background To start your application with pm execute the following commands sudo npm i pm gpm start app If you have index js or server js use pm start index js server jsThis will launch our app By visiting the IP address with the specified port again we should observe that the application is now running Ngnix and Reverse ProxyNext we will configure NGNIX and establish a reverse proxy which will redirect traffic to our application using the default port Enter the following commandcd sudo apt install nginxFinished Now we can configure it to set up a reverse proxy and redirect our application to port Here we go sudo nano etc nginx sites available defaultNow enter server name yourdomain com www yourdomain com location proxy pass http localhost proxy http version proxy set header Upgrade http upgrade proxy set header Connection upgrade proxy set header Host host proxy cache bypass http upgrade Now restart Ngnixsudo service nginx restart SSL CertificationAllow some time for the custom domain to propagate After a while you can access your custom domain and observe that the application is running Excited Hope you found your application is running with your domain nameBut there is Not secure Let s give a lock to there Now we are going to change http to https For that we need SSL certification Initially we install the certbot package by executing the following commandssudo add apt repository ppa certbot certbotsudo apt get updatesudo apt get install python certbot nginxAfter completing the installation we will utilize the certbot CLI to generate an SSL certificate Run the following command and supply your email information when prompted to generate the SSL certificate sudo certbot nginx d yourdomain com d www yourdomain comOn certificate generation you will need to provide your email After getting the certificate go back and find your application running on your domain |
2023-02-11 09:46:31 |
海外TECH |
DEV Community |
Why Developers Should Learn Docker and Kubernetes in 2023 |
https://dev.to/javinpaul/why-developers-should-learn-docker-and-kubernetes-in-2023-4hof
|
Why Developers Should Learn Docker and Kubernetes in Hello devs if you are looking to learn new tools and technologies in then you should consider learning Docker and Kubernetes two of the most essential tools for creating and managing containers in this era of Microservices and Cloud Computing With the rise of Microservices and Cloud Computing Docker and Kubernetes has become and essential tool for Software developer and now its imperative for many of us to learn them to succeed as Software developer If you want to learn Docker and Kubernetes also known as Ks then you are already made a great decision Earlier I have shared the best free Docker courses and free kubernetes courses and you can check them to start your journey If you are still on fence to to learn Docker and Ks then read on Along with Docker if there is one more tool or technology which has caught software developers attention in recent times then it is Kubernetes Actually it s often mentioned alongside Docker because it takes what Docker offers to the next level If you don t know what is Docker and Kubernetes let me give you a brief overview before going deep into why every programmer should learn Kubernetes In simple words Docker is a container and Kubernetes is a container orchestration tool something which can do creating destroying and managing containers at scale Here is a nice diagram which explains what is a Docker and Kubernetes and what they do Containers allow you to build your application and ship it in a container with all its dependencies including OS like Linux or Windows Runtime like Java NET or Node and any third party library and framework code your application is using This greatly simplifies the application deployment process as you can whip up the new environment quickly and you can just ship the docker image a big tar file with everything your application need to the fellow developer or deploy it into any host or even cloud platforms like AWS GCP and Azure This simple invention which has its roots in the logistics and shipping industry takes an application deployment to the next level as you don t need to deploy the application runtime and necessary software to run your application individually You also don t need to worry about upgrading them individually and taking risks that they may not be compatible with other things in the host This means improve development and operation and DevOps experience While Container does simplify both development and deployment particularly for Microservices but it would be a pain if you have to manually manage hundreds and thousands of containers for different processes and that s where Kubernetes comes into the picture Kubernetes takes that pain away by automatically creating and deploying containers for you This makes scaling your application really easy which has been a major challenge for growing startups and companies of all sizes around the world Kubernetes is in fact one of the most sought after skills by software companies around the world and if you are looking to gain a skill that will stay with you throughout your career much like SQL and UNIX then learning Kubernetes is a great option Btw if you have already made your mind to learn Docker and Kubernetes and just need a good resource then you can start withDocker amp Kubernetes The Practical Guidecourse by Maximilian Schwarzmuller of AcadMind on Udemy It s a very engaging informative and hands on course to learn about both Docker and Kubernetes It s also very affordable and you can buy in just on crazy Udemy sales which happen every now and then Why Every Developer Should Learn Docker and Kubernetes in Now that you know what does Docker and Kubernetes offers to software developers it makes it easy to understand why every programmer or software developer should learn Kubernetes The main reason is the increased adoption of the Cloud where Kubernetes plays an important role Every few years there is a major trend in the tech world that shapes the landscapes of the industry In the past these have been things like Concurrency and cloud computing Then a wave of Blockchain Data Science Machine Learning and Artificial Intelligence comes Well they are still here but we ll not discuss those in this article Instead we ll focus our discussion on technologies that are getting increased adoption across the companies both big and small like containers and serverless computing Docker leads the pack with Containers but Kubernetes takes it to another level Kubernetes drastically changes the code deployment process making it possible to easily roll out new releases on hundreds and thousands of servers with no downtime As a programmer we need to be familiar with anything and everything which is required to run and support your application While Kubernetes is much more important and essential for a DevOps engineer who is directly responsible for managing Application deployment a programmer can also benefit if he knows how Kubernetes works and how it manages the containers at scale If things go wrong on Production then it s the developer who is often involved and if he doesn t know how things work on Production then he can t help and that why I think every programmer and developer should spend some time learning Kubernetes Unlike DevOps engineers who need to have hands on knowledge of Kubernetes you may not need to become an expert but just knowing Kubernetes fundamentals and how things are set up and work in production can make a big difference in your career reputation as a developer and overall your utility You can further see Docker amp Kubernetes The Practical Guide to learn why we need Docker No one explains better than Max on why we need Docker and Kubernetes How to learn Docker and Kubernetes in Now the big question is how to learn Docker and Kubernetes in Well there is no better way to learn than to join an online training course There is also a lot of free materials also available to learn Docker and Kubernetes online and you can use them to kick start your journey In the past I have shared a few free Docker and Kubernetes courses and books which can be a good starting point You can join them to learn the basics of containers and tools like Docker and Kubernetes This is good enough for many developers but if you want to learn Docker and Kubernetes in depth and for DevOps then you need to go deeper and pick a comprehensive resource that may not be free If you can spend a few bucks learning something valuable like Docker and Kubernetes then I highly recommend you check out Stephen Grider s Docker and Kubernetes Complete Guide course on Udemy to learn both Docker and Kubernetes in depth This course is one of the highest rated courses on Udemy and trusted by more than students These were some of the best books and courses to learn Docker and Kubernetes from many experts online They are also very affordable and you can buy them online and learn them safe from your home or office Difference between Docker and Kubernetes Many programmer think that Docker and Kubernetes are same thing but they are not Even though both are used together to manage container based deployment in production there are many difference between them Docker is a containerization platform that provides a way to package an application and its dependencies into a single self contained unit called a container Containers are isolated from each other and from the host operating system which makes them an ideal solution for deploying applications in a consistent and predictable manner across different environments For example using Docker you can deploy Java and NET Microservice in same way unlike traditional way where you need JDK installed or CLR installed for NET Docker abstract that and allow you to deploy containers instead of JAR files or NET executables On the other hand Kubernetes is an open source platform for automating the deployment scaling and management of containerized applications It provides a set of APIs and tools for deploying scaling and managing containers including Docker containers In summary Docker provides the containers and Kubernetes provides the orchestration and management of those containers The combination of Docker and Kubernetes allows organizations to manage and scale their applications more effectively and efficiently in a production environment It s also important to note that Kubernetes is not the only platform for orchestration and management of containers There are many other alternatives available such as Docker Swarm and OpenShift However Kubernetes is probably most popular solution in recent years due to its robust feature set large community and broad ecosystem Here is also a nice diagram from Atlassian which explains the difference between Docker and Kubernetes visually That s all about why every Developer should learn Kubernetes in As I said the future of software development is in the cloud and Docker and Kubernetes will play an important role in application deployment and scaling It s important for both full stack developer and DevOps Engineer to have a strong knowledge of container technologies in general and Docker and Kubernetes in particular to remain relevant in this new technology way Other DevOps Tools and Courses you may like The DevOps Developer RoadMap Top Books to learn DevOps in Free Docker Courses for Java and DevOps Professionals Free Selenium Courses to Learn Automation Testing Free Online Courses to learn Kubernetes in My favorite courses to learn Amazon Web Service Best DevOps Courses for Senior Developers My favorite courses to learn DevOps for experienced Free Courses to learn AWS and Cloud for Programmers Free Courses to learn Selenium for DevOps Docker and Kubernetes Courses for Programmers Maven Courses for Java Developers Things Java Developers Should Learn in Top Courses to Learn Jenkins for Automation and DevOpsThanks for reading this article so far if you like Docker and Kubernetes and find this article useful then please share it with your friends and colleagues If you have any questions or feedback then please drop a note P S If you are want to learn Docker and Kubernetes in depth and looking for the best online courses then you can also check out this list of best Docker and Kubernetes courses you can join in to learn these in demand tools |
2023-02-11 09:03:52 |
海外科学 |
NYT > Science |
For Many Older Americans, the Pandemic Is Not Over |
https://www.nytimes.com/2023/02/11/health/covid-pandemic-seniors.html
|
For Many Older Americans the Pandemic Is Not OverSeniors continue to bear the brunt of deaths and hospitalizations even as most of the nation abandons precautions “Americans do not agree about the duty to protect others |
2023-02-11 10:00:18 |
海外ニュース |
Japan Times latest articles |
Rishi Sunak is privately drafting plans to rebuild Britain’s ties with the EU |
https://www.japantimes.co.jp/news/2023/02/11/world/politics-diplomacy-world/rishi-sunak-eu-ties/
|
Rishi Sunak is privately drafting plans to rebuild Britain s ties with the EUDriven in part by the fallout from Russia s war in Ukraine officials have been drafting proposals for how Britain can work more closely with EU |
2023-02-11 18:28:21 |
海外ニュース |
Japan Times latest articles |
Eagles searching for right formula to slow down Patrick Mahomes in Super Bowl |
https://www.japantimes.co.jp/sports/2023/02/11/more-sports/football/eagles-defense-mahomes/
|
Eagles searching for right formula to slow down Patrick Mahomes in Super BowlBrandon Graham has already strip sacked the greatest quarterback of all time in a Super Bowl What to do for an encore Call year old Patrick Mahomes the |
2023-02-11 18:00:44 |
ニュース |
BBC News - Home |
Knowsley: Three arrested after protest at Merseyside asylum seeker hotel |
https://www.bbc.co.uk/news/uk-england-merseyside-64600806?at_medium=RSS&at_campaign=KARANGA
|
asylum |
2023-02-11 09:39:23 |
ニュース |
BBC News - Home |
India v Australia: Tourists collapse to first Test innings defeat inside three days |
https://www.bbc.co.uk/sport/cricket/64608418?at_medium=RSS&at_campaign=KARANGA
|
India v Australia Tourists collapse to first Test innings defeat inside three daysRavichandran Ashwin takes five wickets as India beat Australia by an innings and runs inside three days in the first Test in Nagpur |
2023-02-11 09:48:15 |
コメント
コメントを投稿