{"id":277372,"date":"2016-03-31T15:34:03","date_gmt":"2016-03-31T11:34:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=277372"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=277372","title":{"rendered":"16 \u044f\u0434\u0435\u0440 \u0438 30 \u0413\u0431 \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c \u0412\u0430\u0448\u0435\u0433\u043e Jupyter \u0437\u0430 $0.25 \u0432 \u0447\u0430\u0441"},"content":{"rendered":"<p>       \u0415\u0441\u043b\u0438 \u0412\u0430\u043c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0432\u0435\u0437\u043b\u043e, \u0438 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u043d\u0435\u0442 n-\u044f\u0434\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u043d\u0441\u0442\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0432\u043e\u0438\u043c\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438, \u0442\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0412\u0430\u0441. \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u043b\u0438 \u0412\u044b \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043d\u0430 \u0432\u0441\u044e \u043d\u043e\u0447\u044c (\u0438 \u0443\u0442\u0440\u043e\u043c \u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u0433\u0434\u0435-\u0442\u043e \u0437\u0430\u0431\u044b\u043b\u0438 \u0441\u043a\u043e\u0431\u043e\u0447\u043a\u0443, \u0438 6 \u0447\u0430\u0441\u043e\u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043f\u0440\u043e\u043f\u0430\u043b\u0438) \u2014 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044c \u0448\u0430\u043d\u0441 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 Amazon Web Services.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0c5\/9fe\/58c\/0c59fe58ce894a98a99714e313156428.jpg\"\/><\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c EC2. \u041f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043f\u043e\u043b\u0443\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0430\u0440\u0435\u043d\u0434\u0435 \u0441\u043f\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 AWS \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Jupyter-\u0431\u043b\u043e\u043a\u043d\u043e\u0442\u0430\u043c\u0438 \u0438 \u0441\u0431\u043e\u0440\u043a\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a Anaconda. \u0411\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0435\u043c, \u043a\u0442\u043e \u0432 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f\u0445 Kaggle \u0432\u0441\u0435 \u0435\u0449\u0435 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0438\u0433\u0440\u0443\u0448\u0435\u0447\u043d\u044b\u043c \u043c\u0430\u043a\u043e\u043c. <\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0440\u0435\u0430\u043a\u0446\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e, \u043a\u0442\u043e \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437 \u0437\u0430\u0448\u0435\u043b \u043d\u0430 \u0441\u0430\u0439\u0442 Amazon Web Services \u2014 \u044d\u0442\u043e \u0440\u0430\u0441\u0442\u0435\u0440\u044f\u043d\u043d\u043e\u0441\u0442\u044c \u043e\u0442 \u043e\u0431\u0438\u043b\u0438\u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0445 \u0443\u0441\u043b\u0443\u0433 \u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d (\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0430\u043c \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430\u043c\u0438). <br \/>  \u0412 \u044d\u0442\u043e\u043c \u0442\u044c\u044e\u0442\u043e\u0440\u0438\u0430\u043b\u0435 \u044f \u043f\u043e\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u043e \u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 AWS \u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u043d\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440 Jupyter, \u0447\u0442\u043e\u0431 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u0442\u043e\u043b\u044c \u043f\u043e\u043b\u044e\u0431\u0438\u0432\u0448\u0438\u043c\u0438\u0441\u044f \u0431\u043b\u043e\u043a\u043d\u043e\u0442\u0430\u043c\u0438. \u0410\u043a\u0446\u0435\u043d\u0442 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0430 \u0441\u0431\u043e\u0440\u043a\u0435 Anaconda \u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f, \u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0445\u043e\u0442\u044c \u0431\u0438\u0442\u043a\u043e\u0438\u043d\u044b \u043c\u0430\u0439\u043d\u0438\u0442\u044c \ud83d\ude42<\/p>\n<p>  <b>\u041c\u043e\u0442\u0438\u0432\u0430\u0446\u0438\u044f<\/b>: \u0445\u043e\u0442\u0438\u043c \u0431\u044b\u0441\u0442\u0440\u043e (\u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 5-7 \u043c\u0438\u043d\u0443\u0442) \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u0437 Jupyter-\u0431\u043b\u043e\u043a\u043d\u043e\u0442\u043e\u0432 \u043a \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c \u043f\u043e\u0441\u0435\u0440\u044c\u0435\u0437\u043d\u0435\u0439, \u0447\u0435\u043c \u0443 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u0430.<br \/>  \u0412\u043e\u043e\u0431\u0449\u0435 \u0435\u0441\u0442\u044c \u043f\u043e\u0434 \u044d\u0442\u043e \u0434\u0435\u043b\u043e \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 <a href=\"https:\/\/gist.github.com\/iamatypeofwalrus\/5183133\">\u0442\u044c\u044e\u0442\u043e\u0440\u0438\u0430\u043b<\/a>. \u0421\u0442\u0430\u0442\u044c\u044f, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0412\u044b \u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u2014 \u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438. \u041c\u044b \u0435\u0449\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438 \u0430\u0440\u0435\u043d\u0434\u0435 \u043c\u0430\u0448\u0438\u043d\u044b. \u0410 \u0432\u043e\u0442 \u0438 <a href=\"https:\/\/github.com\/Yorko\/aws_jupyter_anaconda\">\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/a> \u0442\u0435\u0445, \u043a\u0442\u043e \u0432 \u0441\u043f\u0435\u0448\u043a\u0435. <\/p>\n<p>  \u0410\u0440\u0435\u043d\u0434\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0441\u043f\u043e\u0442\u043e\u0432\u044b\u0439 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u04413.4xlarge \u0441 16 \u044f\u0434\u0440\u0430\u043c\u0438 \u0438 30 \u0413\u0431 RAM. <br \/>  \u00ab\u0421\u043f\u043e\u0442\u043e\u0432\u044b\u0439\u00bb \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u043e \u0441\u0443\u0442\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0430\u0443\u043a\u0446\u0438\u043e\u043d\u0435 \u0438, \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0432 \u0446\u0435\u043d\u0443 \u0437\u0430 \u0447\u0430\u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0430\u0448\u0438\u043d\u043e\u0439, \u0438\u043c\u0435\u0442\u044c \u043a \u043d\u0435\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u0441\u043f\u0440\u043e\u0441 \u043d\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0435\u0442. \u0415\u0441\u043b\u0438 \u0441\u043f\u0440\u043e\u0441 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0435\u0442, \u0438 \u0440\u044b\u043d\u043e\u0447\u043d\u0430\u044f \u0446\u0435\u043d\u0430 \u043f\u0440\u0435\u0432\u044b\u0441\u0438\u0442 \u0442\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u043b\u0438, \u043c\u0430\u0448\u0438\u043d\u0430 \u043e\u0442 \u043d\u0430\u0441 \u00ab\u0443\u0431\u0435\u0436\u0438\u0442\u00bb, \u043f\u0440\u0438\u0447\u0435\u043c \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e. \u0418\u043c\u0435\u043d\u043d\u043e \u043f\u043e \u044d\u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 (\u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438) \u043c\u043d\u043e\u0433\u0438\u0435 \u0431\u043e\u044f\u0442\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043f\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430\u043c\u0438, \u0445\u043e\u0442\u044f \u043d\u0430 \u043d\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430\u043c\u0438 \u00ab\u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e\u00bb. \u0422\u0430 \u0436\u0435 \u043c\u0430\u0448\u0438\u043d\u0430, \u043d\u043e \u0432 \u0431\u043e\u043b\u0435\u0435 \u00ab\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u043c\u00bb \u0440\u0435\u0436\u0438\u043c\u0435, <a href=\"https:\/\/aws.amazon.com\/ru\/ec2\/pricing\/\">\u043e\u0431\u043e\u0439\u0434\u0435\u0442\u0441\u044f<\/a> \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 $0.85\/\u0447\u0430\u0441, \u043c\u044b \u0436\u0435 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043c \u0432\u0447\u0435\u0442\u0432\u0435\u0440\u043e \u043c\u0435\u043d\u044c\u0448\u0435. <\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e \u0442\u0438\u043f\u044b \u043c\u0430\u0448\u0438\u043d. \u041e\u043d\u0438 \u043d\u0435\u043f\u043b\u043e\u0445\u043e <a href=\"https:\/\/aws.amazon.com\/ru\/ec2\/instance-types\/\">\u043e\u043f\u0438\u0441\u0430\u043d\u044b<\/a> \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 AWS, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0438\u043f \u0421 \u2014 \u043c\u0430\u0448\u0438\u043d\u044b, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. <\/p>\n<h2>\u0410\u0440\u0435\u043d\u0434\u0430 \u043c\u0430\u0448\u0438\u043d\u044b<\/h2>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043d\u0430 <a href=\"https:\/\/www.amazon.com\">\u0441\u0430\u0439\u0442\u0435<\/a> Amazon Web Services. \u0422\u0443\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443 \u2014 \u0432\u0441\u0435 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0438 \u043f\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443, \u0438 \u043f\u043e e-mail. \u0415\u0441\u043b\u0438 \u0440\u0435\u0448\u0438\u043b\u0438\u0441\u044c \u0430\u0440\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u0435\u0432\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443, \u0442\u043e\u0433\u0434\u0430 \u043d\u0430\u0434\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c \u043a \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0443 \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0443, \u043d\u043e \u0447\u0442\u043e\u0431 \u043f\u043e\u043d\u044f\u0442\u044c \u043f\u0440\u0438\u043d\u0446\u0438\u043f, \u043c\u043e\u0436\u043d\u043e \u0438 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 <i>m4large<\/i> (1 CPU, 1 Gb RAM) \u0432\u0437\u044f\u0442\u044c. <\/p>\n<p>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u0441\u0432\u043e\u044e \u043a\u043e\u043d\u0441\u043e\u043b\u044c AWS \u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0432 Services \u0441\u043b\u0443\u0436\u0431\u0443 EC2 (Elastic Compute Cloud)<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/143\/eaa\/fd8\/143eaafd898d462a8adba03d625fcdd6.png\"\/><\/p>\n<p>  \u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 Spot Requests \u0436\u043c\u0435\u043c \u00abRequest Spot Instance\u00bb. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/aa7\/2af\/e05\/aa72afe0556a4534829ad66208e42951.png\"\/><\/p>\n<p>  \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0438\u043f \u041e\u0421, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u043e\u044f\u0442\u044c \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. \u0412 \u043e\u0431\u0449\u0438\u0445 \u0447\u0435\u0440\u0442\u0430\u0445: Windows \u0434\u043e\u0440\u043e\u0436\u0435, \u0441\u0440\u0435\u0434\u0438 *Nix \u043d\u0435 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u0443\u044e \u0438\u043c\u0435\u043d\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c, \u043f\u0443\u0441\u0442\u044c \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 Ubuntu.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/554\/a9d\/d9b\/554a9dd9b2f046fe82539e8a344555a9.png\"\/><\/p>\n<p>  \u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441. \u0417\u0434\u0435\u0441\u044c \u043f\u043e\u0437\u0430\u043b\u0438\u043f\u0430\u0435\u043c, \u043f\u043e\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c (<a href=\"https:\/\/aws.amazon.com\/ru\/ec2\/instance-types\/\">\u0442\u0443\u0442<\/a> \u0432\u0441\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439 \u043e\u043f\u0438\u0441\u0430\u043d\u043e) \u0438 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u0438\u043c \u0434\u043e \u04413.4xlarge. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/1ef\/90f\/191\/1ef90f191bab40a5a9dea041eef8e43f.png\"\/><\/p>\n<p>  \u0417\u0430\u0442\u0435\u043c \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043d\u0430\u0437\u043d\u0430\u0447\u0438\u0442\u044c \u0446\u0435\u043d\u0443 \u0437\u0430 \u0447\u0430\u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u043e\u0439. \u041c\u044b \u0432\u0438\u0434\u0438\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0446\u0435\u043d\u044b \u0432 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u0445. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/24e\/b25\/bf9\/24eb25bf9aac460994693a752139859f.png\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u0443 \u0412\u0430\u0441 \u0446\u0435\u043d\u044b \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0432\u044b\u0448\u0435, \u0447\u0435\u043c \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435, \u0437\u043d\u0430\u0447\u0438\u0442, \u0441\u0435\u0439\u0447\u0430\u0441 \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0440\u0435\u0433\u0438\u043e\u043d\u0435 \u0432\u0441\u043f\u043b\u0435\u0441\u043a \u2014 \u0441\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043e\u043d (\u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0433\u043b\u0443 \u0440\u044f\u0434\u043e\u043c \u0441 \u0412\u0430\u0448\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c). \u042f \u043f\u043e\u043a\u0430 \u0441 \u0443\u0441\u043f\u0435\u0445\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0440\u0435\u0433\u0438\u043e\u043d Frankfurt, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438 \u043f\u043e\u0438\u0437\u0443\u0447\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0440\u0435\u0433\u0438\u043e\u043d\u044b \u043f\u043e\u0434\u0435\u0448\u0435\u0432\u043b\u0435 \u0438 \u0441\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u043c\u0438 \u0446\u0435\u043d\u0430\u043c\u0438.<\/p>\n<p>  \u0426\u0435\u043d\u0443 \u043b\u0443\u0447\u0448\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0437\u0430 \u0432 1.5 \u0432\u044b\u0448\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0440\u044b\u043d\u043e\u0447\u043d\u043e\u0439 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0435\u0433\u0438\u043e\u043d\u0435. \u041f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u0435 \u0446\u0435\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0435\u0431\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u0440\u0435\u0434\u043a\u043e \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0412\u0430\u043c\u0438. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0442\u0430\u043a \u043c\u0430\u0448\u0438\u043d\u0430 \u043d\u0435 \u0447\u0430\u0441\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u00ab\u043e\u0442\u0432\u0430\u043b\u0438\u0432\u0430\u0442\u044c\u0441\u044f\u00bb.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435. Amazon \u0443\u0433\u043e\u0449\u0430\u0435\u0442 \u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044c\u044e \u0413\u0431, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 \u0432\u0437\u044f\u0442\u044c \u0432\u0441\u0435 30\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a58\/a16\/252\/a58a1625229f445a9ad976e22cdd74af.png\"\/><\/p>\n<p>  \u0422\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c. \u0418 \u0434\u0430\u043b\u0435\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u043e\u0440\u0442\u043e\u0432. \u0422\u0443\u0442 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u2014 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u0440\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 Jupyter-\u0441\u0435\u0440\u0432\u0435\u0440. \u041f\u0443\u0441\u0442\u044c \u043f\u043e \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u0438 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 8888. \u0416\u043c\u0435\u043c \u00abAdd rule\u00bb, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u00abCustom TCP rule\u00bb \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0440\u0442 8888. \u0422\u0430\u043a\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b HTTP \u0438 HTTPS \u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u043c, \u043a\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0441\u043b\u0443\u0448\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0440\u0442\u044b. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u0430 \u0433\u0430\u043b\u043a\u0438 My IP.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/61f\/813\/212\/61f813212feb4f7f953d9acbc0243d0b.png\"\/><\/p>\n<p>  \u041d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043b\u044e\u0447 (pem-\u0444\u0430\u0439\u043b), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0441 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u043a \u043c\u0430\u0448\u0438\u043d\u0435 \u0447\u0435\u0440\u0435\u0437 SSH \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b. \u041c\u043e\u0436\u043d\u043e \u0435\u0433\u043e \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e \u2014 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u043e\u0441\u043b\u0435 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0437\u043d\u0430\u0442\u044c, \u0433\u0434\u0435 \u043e\u043d \u043b\u0435\u0436\u0438\u0442 \u0438 <b>\u043d\u0438 \u0432 \u043a\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 (!!!)<\/b> \u043d\u0435 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043d\u0430 GitHub \u0438\u043b\u0438 \u043a\u0443\u0434\u0430-\u0442\u043e \u0435\u0449\u0435 \u043e\u043d\u043b\u0430\u0439\u043d. \u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u0441\u044c \u043a \u044d\u0442\u043e\u043c\u0443 \u0444\u0430\u0439\u043b\u0438\u043a\u0443 \u043f\u043e\u0447\u0442\u0438 \u043a\u0430\u043a \u043a \u043f\u0430\u0440\u043e\u043b\u044e \u043e\u0442 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u044b. Amazon \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c pem-\u0444\u0430\u0439\u043b\u044b (\u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u043f\u043e 2 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c \u0440\u0435\u0433\u0438\u043e\u043d\u0435, \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 \u043a\u043b\u044e\u0447 \u043d\u0435\u043b\u044c\u0437\u044f).<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/bfc\/8bb\/db5\/bfc8bbdb52b04a698bb7899518d875f8.png\"\/><\/p>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446 \u0432\u0441\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u043c, \u0436\u0434\u0435\u043c \u043f\u0430\u0440\u0443 \u043c\u0438\u043d\u0443\u0442, \u043f\u043e\u043a\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f, \u0438 \u0432 EC2 \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 \u00abInstances\u00bb \u0437\u0430\u043c\u0435\u0447\u0430\u0435\u043c, \u0447\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/95b\/889\/2fa\/95b8892faf6a4477aa90e46c2ed55d7a.png\"\/> <\/p>\n<p>  \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u0438 \u0436\u043c\u0435\u043c Connect. Amazon \u0434\u0430\u0435\u0442 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435. <\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0412\u044b \u0441\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434 Windows, \u0442\u043e \u0434\u043b\u044f \u0412\u0430\u0441 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f (\u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0432 \u0442\u044c\u044e\u0442\u043e\u0440\u0438\u0430\u043b\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u00abWindows? Good luck!\u00bb). \u041d\u0430\u0434\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 Amazon, \u043a\u0430\u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Putty. <br \/>  \u0415\u0441\u043b\u0438 \u0436\u0435 \u0412\u044b \u043f\u043e\u0434 *NIX, \u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 2 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre><code class=\"bash\">chmod 400 &lt;PEM-file name&gt;.pem ssh -i &lt;PEM-file name&gt;.pem ubuntu@&lt;HOST&gt; <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0432\u0430\u044f \u0437\u0430\u0431\u043e\u0442\u0438\u0442\u0441\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e\u0431 \u043d\u0435 \u0443 \u0432\u0441\u044f\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0412\u0430\u0448\u0435\u043c\u0443 pem-\u0444\u0430\u0439\u043b\u0443. \u0412\u0442\u043e\u0440\u0430\u044f \u2014 \u044d\u0442\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0435 c\u043e \u0441\u0432\u043e\u0438\u043c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u043c \u0445\u043e\u0441\u0442\u043e\u043c . <\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043c\u0430\u0448\u0438\u043d\u044b<\/h2>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u043e\u0448\u043b\u043e \u0433\u043b\u0430\u0434\u043a\u043e, \u0432\u044b \u043a\u0430\u043a \u044e\u0437\u0435\u0440 ubuntu \u043f\u043e\u043f\u0430\u0434\u0435\u0442\u0435 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b.<br \/>  \u041c\u043e\u0436\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043d\u043e \u043c\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c\u0441\u044f \u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u0447 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0441 Jupyter. \u0412\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0434\u0430\u043b\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u044b, \u0447\u0442\u043e\u0431 \u0432 \u043d\u0438\u0445 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0449\u0435 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f (\u0438 \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0435 \u043e\u0431\u043e\u0448\u043b\u043e\u0441\u044c \u0431\u0435\u0437 \u0448\u0443\u0442\u043e\u0447\u0435\u043a \u0432 \u0441\u0442\u0438\u043b\u0435 <i>rm -rf \/<\/i>), \u043d\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437 \u0438 \u0434\u0430\u043b\u0435\u0435 \u043c\u044b \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c bash-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c.<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c Miniconda. \u041e\u043d\u0430 \u0432\u0441\u0435 \u0436\u0435 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0433\u0447\u0435 Anaconda, \u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043c\u044b \u0434\u043e\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c (\u0432\u043f\u0440\u043e\u0447\u0435\u043c, seaborn \u0443 \u043c\u0435\u043d\u044f \u043d\u0435 \u043f\u043e\u043f\u0435\u0440, \u0430 \u0441 Anaconda \u0432\u0441\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e). \u041c\u044b \u0441 \u043c\u0430\u0448\u0438\u043d\u043a\u043e\u0439 \u043d\u0435\u043d\u0430\u0434\u043e\u043b\u0433\u043e, \u0432\u0440\u044f\u0434 \u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0447\u0435\u043c \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u043e\u0432, \u0442\u0430\u043a \u0447\u0442\u043e \u0431\u0435\u0437 \u043f\u0435\u0440\u0444\u0435\u043a\u0446\u0438\u043e\u043d\u0438\u0437\u043c\u0430 \u2014 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. <\/p>\n<pre><code class=\"bash\">wget -c http:\/\/repo.continuum.io\/miniconda\/Miniconda-latest-Linux-x86_64.sh bash Miniconda-latest-Linux-x86_64.sh -b -p ~\/miniconda export PATH=~\/miniconda\/bin:$PATH <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0432\u0441\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043a\u0430\u043a\u0438\u0435 \u0437\u0430\u0445\u043e\u0442\u0438\u043c.   <\/p>\n<pre><code class=\"bash\">conda install -y numpy scipy pandas scikit-learn jupyter <\/code><\/pre>\n<p>  \u041c\u043e\u0436\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438 <a href=\"https:\/\/github.com\/JohnLangford\/vowpal_wabbit\/wiki\">Vowpal Wabbit<\/a> \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c (\u0448\u0443\u0441\u0442\u0440\u044b\u0435 \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0432\u044b\u0431\u043e\u0440\u043a\u0430\u0445 \u043f\u043e\u0440\u043e\u0439 \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0438 \u043f\u043e\u0431\u044b\u0441\u0442\u0440\u0435\u0435 MapReduce-\u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439).  <\/p>\n<pre><code class=\"bash\">sudo apt-get -qq install vowpal-wabbit <\/code><\/pre>\n<p>  \u041d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u0435\u0442 \u0438 Git \u2014 \u0442\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u043d\u0443\u0436\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0441\u043a\u0430\u0447\u0430\u0442\u044c (\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 Amazon S3 \u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0442\u044e\u044c\u0442\u043e\u0440\u0438\u0430\u043b\u0435 \u043d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e).  <\/p>\n<pre><code class=\"bash\">sudo apt-get -qq install git <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442, \u0447\u0442\u043e\u0431 \u0432\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 Jupyter \u043f\u043e \u043f\u0430\u0440\u043e\u043b\u044e \u2014 \u0442\u0430\u043a \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0435\u0439. \u0421\u0435\u0439\u0447\u0430\u0441 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e \u0440\u0443\u043a\u0430\u043c\u0438, \u0441\u043e \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0440\u0430\u0437\u0430 \u044d\u0442\u043e\u0442 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c.<\/p>\n<pre><code class=\"bash\">openssl req -x509 -nodes -days 365 rsa:2048 -keyout jupyter.pem -out jupyter.pem <\/code><\/pre>\n<p>  \u041f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0437\u0430\u043f\u0440\u043e\u0441 \u043e\u0431 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u044d\u0442\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430 \u043d\u0430 Jupyter-\u0441\u0435\u0440\u0432\u0435\u0440.<br \/>  \u041c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 passwd \u0438\u0437 Ipython  <\/p>\n<pre><code class=\"bash\">python &gt;&gt;&gt; from IPython.lib import passwd &gt;&gt;&gt; passwd('Sample password') <\/code><\/pre>\n<p>  \u041f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0445\u044d\u0448 \u0412\u0430\u0448\u0435\u0433\u043e \u043f\u0430\u0440\u043e\u043b\u044f. \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e.   <\/p>\n<pre><code class=\"bash\">'sha1:d0c0b7eb515e:f0e59fcd04aec7bb50886084ae8e1fa9a273f88e' <\/code><\/pre>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0444\u0438\u043b\u044c IPython \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0432 \u0432 \u0444\u0430\u0439\u043b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u043a\u0430\u043a\u043e\u0439 \u043f\u043e\u0440\u0442 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0441 \u043a\u0430\u043a\u0438\u0445 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d \u0434\u043e\u0441\u0442\u0443\u043f. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c. \u0423 \u0412\u0430\u0441 \u043f\u0430\u0440\u043e\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f \u2014 \u043d\u0430\u0434\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439.   <\/p>\n<pre><code class=\"bash\">ipython profile create nbserver  printf &quot;\\n# Configuration file for ipython-notebook.\\n c = get_config()\\n # Notebook config\\n c.NotebookApp.ip = '*'\\n c.NotebookApp.password = u''sha1:d0c0b7eb515e:f0e59fcd04aec7bb50886084ae8e1fa9a273f88e''\\n c.NotebookApp.open_browser = False\\n c.NotebookApp.port = 8888\\n&quot; &gt;&gt; ~\/.ipython\/profile_nbserver\/ipython_notebook_config.py <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435, \u0447\u0442\u043e \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u2014 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c IPython-\u0441\u0435\u0440\u0432\u0435\u0440. <br \/>  (\u041f\u043e\u0447\u0435\u043c\u0443 IPython, \u0430 \u043d\u0435 Jupyter?.. \u041f\u043e\u0447\u0435\u043c\u0443 certfile \u044f\u0432\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043d? \u041e\u0442\u0432\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439: \u043a\u043e\u0441\u0442\u044b\u043b\u0438. Jupyter \u043d\u0435 \u0445\u043e\u0442\u0435\u043b \u0432\u0438\u0434\u0435\u0442\u044c config-\u0444\u0430\u0439\u043b, \u0430 \u043f\u043e\u0442\u043e\u043c \u043d\u0435 \u0445\u043e\u0442\u0435\u043b \u0432 \u043d\u0435\u043c \u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0444\u0430\u0439\u043b\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u043c\u043e\u0436\u0435\u0442, \u0443 \u0412\u0430\u0441 \u0438 \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 jupyter \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0441\u044f, \u0438 \u0431\u0435\u0437 \u044f\u0432\u043d\u043e\u0433\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430).  <\/p>\n<pre><code class=\"bash\">ipython notebook --config=&quot;~\/.ipython\/profile_nbserver\/ipython_notebook_config.py&quot; --certfile=jupyter.pem <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u043f\u0440\u043e\u0448\u043b\u043e \u0443\u0434\u0430\u0447\u043d\u043e, \u0412\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0432 \u043a\u043e\u043d\u0446\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u0442\u0438\u043f\u0430 \u044d\u0442\u043e\u0433\u043e.   <\/p>\n<pre><code class=\"bash\">[I 10:09:08.774 NotebookApp] Serving notebooks from local directory: \/home\/ubuntu [I 10:09:08.775 NotebookApp] 0 active kernels  [I 10:09:08.775 NotebookApp] The Jupyter Notebook is running at: https:\/\/[all ip addresses on your system]:8888\/ [I 10:09:08.775 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). <\/code><\/pre>\n<p>  <\/p>\n<h2>\u041f\u0440\u043e\u0444\u0438\u0442<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430 <a href=\"https:\/\/HOST\">HOST<\/a>:8888, \u0433\u0434\u0435 HOST \u2014 \u044d\u0442\u043e, \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443, \u0430\u0434\u0440\u0435\u0441 \u0432\u0430\u0448\u0435\u0433\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430. <b>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435!<\/b> \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e HTTPS, \u043c\u043e\u0436\u0435\u0442 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430. (\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 Chrome \u043d\u0430\u0434\u043e \u0442\u043a\u043d\u0443\u0442\u044c \u00ab\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435\u00bb \u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u0441\u0430\u0439\u0442).<\/p>\n<p>  \u0412\u0432\u043e\u0434\u0438\u043c \u0441\u0432\u043e\u0439 \u043f\u0430\u0440\u043e\u043b\u044c (\u0442\u0443\u0442 \u0443\u0436\u0435, \u0441\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439, \u043d\u0435 \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439, \u0430 \u00ab\u043e\u0431\u044b\u0447\u043d\u044b\u0439\u00bb) \u0438 \u0432\u0438\u0434\u0438\u043c \u043f\u0440\u0438\u044f\u0442\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u2014 \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u0437 Jupyter.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/4af\/81f\/ae4\/4af81fae474b41cb96fcfd08d473835e.png\"\/><\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u0431\u043b\u043e\u043a\u043d\u043e\u0442 \u0438 \u0440\u0430\u0434\u0443\u0435\u043c\u0441\u044f \u043e\u0431\u0438\u043b\u0438\u044e \u044f\u0434\u0435\u0440 \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3ee\/9f3\/5be\/3ee9f35be2564b9380eeebbbcd4d06a7.png\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b (\u043d\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u0430, \u0430 \u043d\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b) \u0438 \u0437\u0430\u043a\u0438\u043d\u0435\u043c \u043d\u0430 \u043d\u0430\u0448 \u0438\u043d\u0441\u0442\u0430\u043d\u0441 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445. \u0421\u043a\u0430\u0436\u0435\u043c, \u0438\u0437 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f Kaggle &quot;<a href=\"https:\/\/www.kaggle.com\/c\/forest-cover-type-prediction\">Forest Cover Type Prediction<\/a>&quot;.  <\/p>\n<pre><code class=\"bash\">scp -i &lt;PEM-file name&gt;.pem &lt;LOCAL_PATH_TO_DATA&gt; ubuntu@&lt;HOST&gt;:\/~ <\/code><\/pre>\n<p>  \u041f\u0440\u043e \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0435 \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c, \u043d\u043e \u0442\u0443\u0442 \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u043b\u0435\u0441 Sklearn \u043d\u0430 \u0441\u044b\u0440\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/5d5\/863\/048\/5d5863048b6447e5ab97744dfaae3ea5.png\"\/><br \/>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 n_jobs \u2014 \u0442\u0443\u0442 \u043c\u044b \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u043c \u0432\u0441\u0435 16 \u044f\u0434\u0435\u0440. <br \/>  1000 \u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0433\u043b\u0443\u0431\u0438\u043d\u044b 15 \u043e\u0431\u0443\u0447\u0438\u043b\u0438\u0441\u044c ~ \u0437\u0430 5 \u0441\u0435\u043a\u0443\u043d\u0434 \u2014 \u0432 3 \u0440\u0430\u0437\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u0447\u0435\u043c \u043d\u0430 \u043c\u043e\u0435\u043c MacBook Air c 4 \u044f\u0434\u0440\u0430\u043c\u0438 \u0438 4 \u0413\u0431 \u043f\u0430\u043c\u044f\u0442\u0438. \u041d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0432\u044b\u0431\u043e\u0440\u043a\u0430\u0445 \u0440\u0430\u0437\u043d\u0438\u0446\u0430, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0431\u0443\u0434\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0435\u0439. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f1c\/c90\/1cf\/f1cc901cf79947ac8ce818500ce5a586.png\"\/><\/p>\n<h2>\u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c<\/h2>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043c\u043e\u0436\u043d\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Python Amazon SDK \u043f\u043e \u0438\u043c\u0435\u043d\u0438 <a href=\"https:\/\/github.com\/boto\/boto\">boto<\/a> \u043c\u043e\u0436\u043d\u043e \u0438 \u0440\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043f\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c \u0434\u0435\u043b\u0430\u0442\u044c. \u041d\u043e \u043f\u043e\u043a\u0430 \u043c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0433\u043e\u0442\u043e\u0432\u044f\u0442 \u043c\u0430\u0448\u0438\u043d\u0443 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Jupyter \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043e\u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0430\u0441\u044c. <\/p>\n<p>  \u0412\u0441\u0435 \u044d\u0442\u043e \u2014 \u0432 <a href=\"https:\/\/github.com\/Yorko\/aws_jupyter_anaconda\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a> Github. <\/p>\n<p>  \u0412\u0441\u0435\u0433\u043e \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f 3 \u0444\u0430\u0439\u043b\u0430:  <\/p>\n<ul>\n<li>\u0412 config.txt \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0435 \u043f\u0443\u0442\u044c \u043a \u0441\u0432\u043e\u0435\u043c\u0443 pem-\u0444\u0430\u0439\u043b\u0443, \u0445\u043e\u0441\u0442 \u0441\u0432\u0435\u0436\u0435 \u0432\u044b\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0445\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a Jupyter-\u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438 \u0447\u0443\u0442\u044c \u0440\u0430\u043d\u044c\u0448\u0435.<br \/> \n<pre><code class=\"bash\">pemfile='&lt;PEM-file&gt;.pem' host='&lt;HOST&gt;' jupyter_password='&lt;JUPYTER_PASSWORD&gt;' <\/code><\/pre>\n<p>  <\/li>\n<li>\u0412 remote_setup.sh \u0434\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0435 \u0432\u0441\u0435, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435.\n<pre><code class=\"bash\"># Installing Miniconda wget -c http:\/\/repo.continuum.io\/miniconda\/Miniconda-latest-Linux-x86_64.sh bash Miniconda-latest-Linux-x86_64.sh -b -p \/home\/ubuntu\/miniconda export PATH=\/home\/ubuntu\/miniconda\/bin:$PATH  #Installing neccesary libraries conda install -y numpy scipy pandas scikit-learn jupyter  #Can add whatever you want to install #sudo apt-get -qq install vowpal-wabbit #sudo apt-get -qq install git  ipython profile create nbserver  printf &quot;\\n# Configuration file for ipython-notebook.\\n c = get_config()\\n # Notebook config\\n c.NotebookApp.password = u'&quot;$1&quot;'\\n c.NotebookApp.ip = '*'\\n c.NotebookApp.open_browser = False\\n c.NotebookApp.port = 8888\\n&quot; &gt; ~\/.ipython\/profile_nbserver\/ipython_notebook_config.py  ipython notebook --config=&quot;~\/.ipython\/profile_nbserver\/ipython_notebook_config.py&quot; --certfile=jupyter.pem <\/code><\/pre>\n<p>  <\/li>\n<li>\u0421\u043a\u0440\u0438\u043f\u0442 launch_remote_setup.sh \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 remote_setup.sh \u0441 \u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435.\n<pre><code class=\"bash\">source 'config.txt'  scp -i $pemfile .\/ipython.pem ubuntu@$remote_host:~  ssh -i $pemfile ubuntu@$remote_host 'bash -s' &lt; remote_setup.sh $jupyter_password <\/code><\/pre>\n<p>  <\/li>\n<\/ul>\n<p>  \u0412 \u043d\u0443\u0436\u043d\u043e\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435:  <\/p>\n<pre><code class=\"bash\">sh launch_remote_setup.sh <\/code><\/pre>\n<p>  5-7 \u043c\u0438\u043d\u0443\u0442, \u0438 \u0432\u0441\u0435! \u041c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Jupyter-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. <\/p>\n<p>  \u0423\u0436\u0435 \u0441\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0431\u044b\u043b\u043e \u043d\u0430\u043b\u0438\u0442\u044c \u0447\u0430\u044e. <b>\u041d\u043e! \u041e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442!<\/b><br \/>  \u041f\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0432\u0430\u0448 \u0438\u043d\u0441\u0442\u0430\u043d\u0441. <br \/>  EC2 -&gt; Instances -&gt; Actions -&gt; Instance State -&gt; Terminate.<\/p>\n<p>  \u0418\u043c\u0435\u043d\u043d\u043e terminate, \u0430 \u043d\u0435 stop (\u0445\u043e\u0442\u044f \u0434\u043b\u044f \u0441\u043f\u043e\u0442\u043e\u0432\u044b\u0445 \u044d\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e). \u041d\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u0432 \u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e stop \u043d\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043c\u0430\u0448\u0438\u043d\u0443, \u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u0431\u0435\u0433\u0430\u0442\u044c \u0434\u0435\u043d\u044c\u0433\u0438 \u0437\u0430 \u043e\u0431\u043c\u0435\u043d \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3f2\/343\/3f3\/3f23433f39d3497a8283156549f40c54.png\"\/><\/p>\n<p>  \u041d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u043c\u043e\u0436\u043d\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u0444\u0438\u043d\u0430\u043d\u0441\u044b. \u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u0441\u0447\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u0432 Amazon \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u0441\u0432\u043e\u0435 \u0438\u043c\u044f \u0438 \u043f\u043e\u0442\u043e\u043c \u043d\u0430 \u00abBilling &#038; Cost Management\u00bb. <br \/>  $0.25 \/ \u0447\u0430\u0441 \u2014 \u044d\u0442\u043e \u043e\u043a\u043e\u043b\u043e $25 \u0432 \u043c\u0435\u0441\u044f\u0446, \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e 4 \u0447\u0430\u0441\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0431\u0443\u0434\u043d\u0438\u0439 \u0434\u0435\u043d\u044c. \u0414\u0430\u043b\u044c\u0448\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0430\u043c \u0440\u0435\u0448\u0430\u0435\u0442, \u0433\u043e\u0442\u043e\u0432 \u043b\u0438 \u043d\u0430 \u0442\u0430\u043a\u0438\u0435 \u0442\u0440\u0430\u0442\u044b. <\/p>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0442\u0443\u0442 \u043f\u0440\u043e\u0440\u0435\u043a\u043b\u0430\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 <a href=\"https:\/\/education.github.com\/pack\">GitHub Student Developer&#8217;s Pack<\/a> \u2014 \u044f \u043b\u0438\u0447\u043d\u043e \u0441 \u0438\u0445 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 Amazon \u043d\u0430 $110, \u0432\u0441\u0435 \u0435\u0449\u0435 \u0438\u043c \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0441\u044c. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0434\u043b\u044f \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0445 \u043d\u0430\u0443\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0438 \u0433\u0440\u0430\u043d\u0442 Amazon. <\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u043f\u043e\u043a\u0430 \u0432\u0441\u0435. \u0414\u0443\u043c\u0430\u044e, \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044d\u0442\u043e \u0431\u044b\u043b jump-start \u0432 Amazon Web Services EC2. \u0414\u0430\u0434\u0438\u043c \u0441\u0432\u043e\u0438\u043c \u043c\u0430\u0448\u0438\u043d\u043a\u0430\u043c \u043e\u0442\u0434\u043e\u0445\u043d\u0443\u0442\u044c \u043d\u043e\u0447\u044c\u044e!<\/p>\n<p>  PS. \u0417\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \/ \u0441\u043e\u0432\u0435\u0442\u044b \/ \u043e\u0431\u043c\u0435\u043d \u043e\u043f\u044b\u0442\u043e\u043c \/ pull request&#8217;\u044b \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/280562\/\"> https:\/\/habrahabr.ru\/post\/280562\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0415\u0441\u043b\u0438 \u0412\u0430\u043c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0432\u0435\u0437\u043b\u043e, \u0438 \u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0435 \u043d\u0435\u0442 n-\u044f\u0434\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u043d\u0441\u0442\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0432\u043e\u0438\u043c\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438, \u0442\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u043b\u044f \u0412\u0430\u0441. \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u043b\u0438 \u0412\u044b \u043f\u0440\u0438\u0432\u044b\u043a\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043d\u0430 \u0432\u0441\u044e \u043d\u043e\u0447\u044c (\u0438 \u0443\u0442\u0440\u043e\u043c \u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u0433\u0434\u0435-\u0442\u043e \u0437\u0430\u0431\u044b\u043b\u0438 \u0441\u043a\u043e\u0431\u043e\u0447\u043a\u0443, \u0438 6 \u0447\u0430\u0441\u043e\u0432 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043f\u0440\u043e\u043f\u0430\u043b\u0438) \u2014 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044c \u0448\u0430\u043d\u0441 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 Amazon Web Services.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0c5\/9fe\/58c\/0c59fe58ce894a98a99714e313156428.jpg\"\/><\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443, \u043a\u0430\u043a \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c EC2. \u041f\u043e \u0441\u0443\u0442\u0438 \u044d\u0442\u043e \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043f\u043e\u043b\u0443\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0430\u0440\u0435\u043d\u0434\u0435 \u0441\u043f\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u0430 AWS \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Jupyter-\u0431\u043b\u043e\u043a\u043d\u043e\u0442\u0430\u043c\u0438 \u0438 \u0441\u0431\u043e\u0440\u043a\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a Anaconda. \u0411\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0435\u043c, \u043a\u0442\u043e \u0432 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f\u0445 Kaggle \u0432\u0441\u0435 \u0435\u0449\u0435 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u0438\u0433\u0440\u0443\u0448\u0435\u0447\u043d\u044b\u043c \u043c\u0430\u043a\u043e\u043c. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-277372","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277372"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277372\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}