-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17399 from newrelic/translations-75482b60
Updated translations - (machine translation)
- Loading branch information
Showing
57 changed files
with
13,522 additions
and
11,355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 103 additions & 0 deletions
103
.../agents/net-agent/install-guides/install-net-agent-on-aws-elastic-beanstalk.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
--- | ||
title: AWS Elastic Beanstalk に .NET エージェントをインストールする | ||
tags: | ||
- Agents | ||
- NET agent | ||
- Other installation | ||
metaDescription: How to install the APM .NET agent on AWS Elastic Beanstalk. | ||
freshnessValidatedDate: never | ||
translationType: machine | ||
--- | ||
|
||
Amazon Web Services (AWS) ) [Elastic Beanstalk](https://aws.amazon.com/elasticbeanstalk)は、アプリケーションの導入と拡張性を簡単に実現できる動的なサービスです。 .NET AWS Elastic Beanstalk アプリケーションを使用して .NET エージェントをインスタンスリリースにデプロイするには、次の手順に従ってください。 Elastic Beanstalk インスタンスにNew Relic Infrastructure Agent をインストールすることもできます。詳細については[、「 AWS Elastic Beanstalk でインフラストラクチャエージェントを構成する」](/docs/infrastructure/install-infrastructure-agent/config-management-tools/configure-infrastructure-agent-aws-elastic-beanstalk/)を参照してください。 | ||
|
||
## 要件 | ||
|
||
サポートされている[アマゾン ウェブ サービス アカウント](http://aws.amazon.com/elasticbeanstalk/)があることを確認してください。 さらに、 New Relicインストレーションには、<InlinePopover type="licenseKey"/> が必要です。 これは、アカウントに[サインアップする](http://newrelic.com/signup "リンクが新しいウィンドウで開きます")ときに New Relic が提供する 40 文字の 16 進文字列です。 | ||
|
||
## .NETエージェントをインストールする | ||
|
||
ASP..NET Core Web アプリケーション用の .NET エージェントをAWS Elastic Beanstalk にインストールするには: | ||
|
||
1. アプリケーションのルートに`.ebextensions`フォルダーを作成し、 `newrelic-dotnet-agent-install.config`という名前のファイルを作成します。 (正確なファイル名は重要ではありませんが、 `.config`拡張子が付いている必要があります。) | ||
|
||
<Callout variant="important"> | ||
アプリケーションと共に確実にデプロイされるように、プロジェクト内のこのファイルの`Copy to Output Directory`を`Copy if newer`に設定してください。 | ||
</Callout> | ||
|
||
2. .NET アプリケーションの OS に基づいて、ファイルに次のコンテンツを追加します。 | ||
|
||
* `YOUR_LICENSE_KEY` をNew Relicライセンスキーに置き換えます。 | ||
* `YOUR_APP_NAME`をアプリケーション名に置き換えます。 | ||
|
||
<CollapserGroup> | ||
<Collapser | ||
id="elastic-beanstalk-windows" | ||
title="ウィンドウズ" | ||
> | ||
``` | ||
packages: | ||
msi: | ||
# install the latest version of the New Relic .NET agent | ||
# To install a specific version, update the path to the msi | ||
dotnet: https://download.newrelic.com/dot_net_agent/latest_release/NewRelicDotNetAgent_x64.msi | ||
option_settings: | ||
aws:elasticbeanstalk:application:environment: | ||
CORECLR_ENABLE_PROFILING: '1' | ||
NEW_RELIC_LICENSE_KEY: 'YOUR_LICENSE_KEY' | ||
NEW_RELIC_APP_NAME: 'YOUR_APP_NAME' | ||
``` | ||
|
||
<InlinePopover type="licenseKey"/>とアプリ名は必須の環境変数ではありません。[他の方法で設定できます](/docs/agents/net-agent/installation/net-agent-install-resources#env-variables)。 | ||
|
||
これらの変数の詳細、およびその他のインストール シナリオの正しい値については、 [「.NET エージェントの環境変数](/docs/apm/agents/net-agent/other-installation/understanding-net-agent-environment-variables/)について」を参照してください。 | ||
</Collapser> | ||
|
||
<Collapser | ||
id="elastic-beanstalk-linux" | ||
title="Amazon Linux 2023" | ||
> | ||
``` | ||
files: | ||
# Create the dotnet agent YUM repo definition | ||
"/etc/yum.repos.d/newrelic-dotnet-agent.repo": | ||
owner: root | ||
group: root | ||
content: | | ||
[newrelic-dotnet-agent-repo] | ||
name=New Relic .NET Core packages for Enterprise Linux | ||
baseurl=https://yum.newrelic.com/pub/newrelic/el7/$basearch | ||
enabled=1 | ||
gpgcheck=1 | ||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NewRelic | ||
commands: | ||
install_dotnet_agent: | ||
command: | | ||
sudo curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-NewRelic https://download.newrelic.com/548C16BF.gpg | ||
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-NewRelic | ||
sudo yum -q makecache -y --disablerepo='*' --enablerepo='newrelic-dotnet-agent-repo' | ||
# this command installs the latest version of the dotnet agent. | ||
sudo yum install newrelic-dotnet-agent -y | ||
# to install a specific version, use something like the following: | ||
# sudo yum install newrelic-dotnet-agent-10.24.0-1.x86_64 | ||
option_settings: | ||
aws:elasticbeanstalk:application:environment: | ||
CORECLR_ENABLE_PROFILING: '1' | ||
CORECLR_PROFILER: '{36032161-FFC0-4B61-B559-F6C5D41BAE5A}' | ||
CORECLR_NEWRELIC_HOME: '/usr/local/newrelic-dotnet-agent' | ||
CORECLR_PROFILER_PATH: '/usr/local/newrelic-dotnet-agent/libNewRelicProfiler.so' | ||
NEW_RELIC_LICENSE_KEY: 'YOUR_LICENSE_KEY' | ||
NEW_RELIC_APP_NAME: 'YOUR_APP_NAME' | ||
``` | ||
|
||
<InlinePopover type="licenseKey"/>とアプリ名は必須の環境変数ではありません。[他の方法で設定できます](/docs/agents/net-agent/installation/net-agent-install-resources#env-variables)。 | ||
|
||
これらの変数の詳細、およびその他のインストール シナリオの正しい値については、 [「.NET エージェントの環境変数](/docs/apm/agents/net-agent/other-installation/understanding-net-agent-environment-variables/)について」を参照してください。 | ||
</Collapser> | ||
</CollapserGroup> | ||
|
||
3. 最新バージョンの[AWS Toolkit for Visual Studio](https://aws.amazon.com/visualstudio/)を使用してアプリケーションをデプロイします。 [AWS CLI](https://docs.aws.amazon.com/cli/)を使用してアプリケーションをデプロイすることもできます。 | ||
|
||
アプリケーションがトラフィックを受信している場合、データは数分以内に表示されます。そうでない場合は、「[データが表示](/docs/agents/net-agent/troubleshooting/no-data-appears-net)されない」を参照してください。 | ||
|
||
<InstallFeedback/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.